mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-03 22:08:28 +00:00
Fix server shutdown not setting logout location (#4318)
This commit is contained in:
parent
6535edf4e0
commit
8c8c85d753
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
|||
user.sendMessage(tl("unvanishedReload"));
|
||||
}
|
||||
if (stopping) {
|
||||
user.setLastLocation();
|
||||
user.setLogoutLocation();
|
||||
if (!user.isHidden()) {
|
||||
user.setLastLogout(System.currentTimeMillis());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue