From 1e754d716a13c84f061c4d6358099b7ec83f0749 Mon Sep 17 00:00:00 2001 From: Petr Ilin Date: Tue, 12 Apr 2022 21:21:13 +0300 Subject: "null hash" issue fix for other columns --- src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java') diff --git a/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java b/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java index 1501aae..4e330ce 100644 --- a/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java +++ b/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java @@ -249,6 +249,7 @@ public class AuthSessionHandler implements LimboSessionHandler { long checkDate = System.currentTimeMillis() - Settings.IMP.MAIN.IP_LIMIT_VALID_TIME; alreadyRegistered.stream() + .filter(e -> e.getRegDate() != null) .filter(e -> e.getRegDate() < checkDate) .forEach(e -> { try { -- cgit