diff --git a/src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java b/src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java index 0e20a62d..5fcad529 100644 --- a/src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java +++ b/src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java @@ -179,7 +179,7 @@ public class AsynchronousJoin implements AsynchronousProcess { if (auth != null) { long timeSinceLastLogin = System.currentTimeMillis() - auth.getLastLogin(); if(timeSinceLastLogin < 0 - || timeSinceLastLogin > (service.getProperty(PluginSettings.SESSIONS_TIMEOUT) * 60 * 60 * 1000) + || timeSinceLastLogin > (service.getProperty(PluginSettings.SESSIONS_TIMEOUT) * 60 * 1000) || !auth.getIp().equals(PlayerUtils.getPlayerIp(player))) { service.send(player, MessageKey.SESSION_EXPIRED); } else {