diff options
author | nea <nea@nea.moe> | 2023-03-30 23:40:34 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-03-31 00:04:25 +0200 |
commit | 56f10984f25700a2ae6567e7de81b0ecbf33b8c1 (patch) | |
tree | a40b4b148065f32726b39f1971690c5a03628a1b /src/main/java/net/elytrium/limboauth/LimboAuth.java | |
parent | e6a790b52b8313e0fc242bcd35e6aa2dd5e7ce94 (diff) | |
download | LimboAuth-feat/ipsessiondisable.tar.gz LimboAuth-feat/ipsessiondisable.tar.bz2 LimboAuth-feat/ipsessiondisable.zip |
Add option to disable ip sessionsfeat/ipsessiondisable
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/LimboAuth.java')
-rw-r--r-- | src/main/java/net/elytrium/limboauth/LimboAuth.java | 1 |
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)) { |