mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-07 15:48:43 +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"));
|
user.sendMessage(tl("unvanishedReload"));
|
||||||
}
|
}
|
||||||
if (stopping) {
|
if (stopping) {
|
||||||
user.setLastLocation();
|
user.setLogoutLocation();
|
||||||
if (!user.isHidden()) {
|
if (!user.isHidden()) {
|
||||||
user.setLastLogout(System.currentTimeMillis());
|
user.setLastLogout(System.currentTimeMillis());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue