Add PlayerDataMap + Regenerating PlayerData button

This commit is contained in:
Kam committed 2023-05-10 15:06:07 -04:00
1 parent dd14f3ded0
commit ed97534e67
5 files changed
+224 -29

No files matched your search

@@ -794,6 +794,9 @@ public class PacketHandlerServer{
else if(type == EnumPacketServer.PlayerDataRemove){
NoppesUtilServer.removePlayerData(buffer,player);
}
else if(type == EnumPacketServer.PlayerDataRegen){
NoppesUtilServer.regenPlayerData(player);
}
else if(type == EnumPacketServer.MainmenuDisplayGet){
Server.sendData(player, EnumPacketClient.GUI_DATA, npc.display.writeToNBT(new NBTTagCompound()));
}