mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-25 01:57:48 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.isAuthAvailable(name) && !LimboCache.getInstance().hasLimboPlayer(name)) {
|
if (data.isAuthAvailable(name) && LimboCache.getInstance().hasLimboPlayer(name))
|
||||||
if (!Settings.isSessionsEnabled) {
|
if (Settings.isSessionsEnabled)
|
||||||
} else if (PlayerCache.getInstance().isAuthenticated(name)) {
|
if (PlayerCache.getInstance().isAuthenticated(name))
|
||||||
if (!Settings.sessionExpireOnIpChange)
|
if (!Settings.sessionExpireOnIpChange)
|
||||||
if (LimboCache.getInstance().hasLimboPlayer(player.getName().toLowerCase())) {
|
|
||||||
LimboCache.getInstance().deleteLimboPlayer(name);
|
LimboCache.getInstance().deleteLimboPlayer(name);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Check if forceSingleSession is set to true, so kick player that has
|
// Check if forceSingleSession is set to true, so kick player that has
|
||||||
// joined with same nick of online player
|
// joined with same nick of online player
|
||||||
if (player.isOnline() && Settings.isForceSingleSessionEnabled) {
|
if (player.isOnline() && Settings.isForceSingleSessionEnabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user