mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
fix: ensure user cache is cleared on login, close #724
This commit is contained in:
3 files changed
+9
-7
No files matched your search
@@ -104,8 +104,8 @@ public abstract class EventListener {
|
||||
* @param online the leaving {@link OnlineUser}
|
||||
*/
|
||||
protected final void handlePlayerLeave(@NotNull OnlineUser online) {
|
||||
online.removeInvulnerabilityIfPermitted();
|
||||
plugin.getOnlineUserMap().remove(online.getUuid());
|
||||
online.removeInvulnerabilityIfPermitted();
|
||||
|
||||
plugin.runAsync(() -> {
|
||||
// Set offline position
|
||||
|
||||
Reference in new issue
Block a user