aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2022-04-12 21:21:13 +0300
committerPetr Ilin <hevav@hevav.dev>2022-04-12 21:21:13 +0300
commit1e754d716a13c84f061c4d6358099b7ec83f0749 (patch)
treec438e3adbbdf8d8a353b06c2b40eb3968958123c /src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java
parent7442eebe03996ae20cc6e7d16ecd0ae6abe52519 (diff)
downloadLimboAuth-1e754d716a13c84f061c4d6358099b7ec83f0749.tar.gz
LimboAuth-1e754d716a13c84f061c4d6358099b7ec83f0749.tar.bz2
LimboAuth-1e754d716a13c84f061c4d6358099b7ec83f0749.zip
"null hash" issue fix for other columns
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/handler/AuthSessionHandler.java1
1 files changed, 1 insertions, 0 deletions
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 {