mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 02:15:11 +00:00
Fix Player Data Remove
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user