aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/LimboAuth.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/LimboAuth.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/LimboAuth.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/elytrium/limboauth/LimboAuth.java b/src/main/java/net/elytrium/limboauth/LimboAuth.java
index 8b85a28..f00d3c2 100644
--- a/src/main/java/net/elytrium/limboauth/LimboAuth.java
+++ b/src/main/java/net/elytrium/limboauth/LimboAuth.java
@@ -505,6 +505,7 @@ public class LimboAuth {
}
public boolean needAuth(Player player) {
+ if (!Settings.IMP.MAIN.IP_SESSIONS) return true;
String username = player.getUsername();
String lowercaseUsername = username.toLowerCase(Locale.ROOT);
if (!this.cachedAuthChecks.containsKey(lowercaseUsername)) {