mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-07-24 13:15:06 +02:00
/logout now reset timestamp in case session, to enable the /login after
a d/c
This commit is contained in:
parent
655a6a1a71
commit
a947198c8e
|
@ -62,6 +62,8 @@ public class LogoutCommand implements CommandExecutor {
|
|||
}
|
||||
|
||||
PlayerAuth auth = PlayerCache.getInstance().getAuth(name);
|
||||
if (Settings.isSessionsEnabled)
|
||||
auth.setLastLogin(0L);
|
||||
database.updateSession(auth);
|
||||
auth.setQuitLocX(player.getLocation().getX());
|
||||
auth.setQuitLocY(player.getLocation().getY());
|
||||
|
|
Loading…
Reference in New Issue
Block a user