mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-01 21:11:44 +01:00
Fix server shutdown not setting logout location (#4318)
This commit is contained in:
parent
6535edf4e0
commit
8c8c85d753
@ -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 New Issue
Block a user