mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-28 03:19:15 +00:00
fix: NPE on player exit if user not created
This commit is contained in:
@@ -58,6 +58,7 @@ public class PlayerConnectionListener implements Listener {
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (user.isInWardrobe()) user.leaveWardrobe();
|
||||
if (user.getUserEmoteManager().isPlayingEmote()) {
|
||||
|
||||
Reference in New Issue
Block a user