Fix Player Data Remove

This commit is contained in:
Kam committed 2025-07-23 14:04:03 -04:00
1 parent 9b3c8031e7
commit cae3d4ca2b
3 files changed
+11 -20

No files matched your search

@@ -544,7 +544,11 @@ public class NoppesUtilServer {
PlayerDataController.Instance.nameUUIDs.remove(name);
PlayerDataController.Instance.savePlayerDataMap();
int currentSlot = playerdata.profileSlot;
playerdata.setNBT(new NBTTagCompound());
playerdata.profileSlot = currentSlot;
sendPlayerData(type, player, name);
playerdata.save();
return;