mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-24 01:27:35 +01:00
What the fuck was that shit
This commit is contained in:
parent
d84cd6549b
commit
761b1feadb
@ -443,15 +443,12 @@ public class AuthMePlayerListener implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
if (data.isAuthAvailable(name) && !LimboCache.getInstance().hasLimboPlayer(name)) {
|
||||
if (!Settings.isSessionsEnabled) {
|
||||
} else if (PlayerCache.getInstance().isAuthenticated(name)) {
|
||||
if (!Settings.sessionExpireOnIpChange)
|
||||
if (LimboCache.getInstance().hasLimboPlayer(player.getName().toLowerCase())) {
|
||||
if (data.isAuthAvailable(name) && LimboCache.getInstance().hasLimboPlayer(name))
|
||||
if (Settings.isSessionsEnabled)
|
||||
if (PlayerCache.getInstance().isAuthenticated(name))
|
||||
if (!Settings.sessionExpireOnIpChange)
|
||||
LimboCache.getInstance().deleteLimboPlayer(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Check if forceSingleSession is set to true, so kick player that has
|
||||
// joined with same nick of online player
|
||||
if (player.isOnline() && Settings.isForceSingleSessionEnabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user