9
0
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:
LoJoSho
2023-04-05 17:21:02 -05:00
parent 789db52b57
commit cc6aec99e0

View File

@@ -58,6 +58,7 @@ public class PlayerConnectionListener implements Listener {
}
}
}
return;
}
if (user.isInWardrobe()) user.leaveWardrobe();
if (user.getUserEmoteManager().isPlayingEmote()) {