Allow Tag Modifying through Cloner without Closing + Fix Removing All Tags Bug

This commit is contained in:
Kam committed 2024-12-21 14:23:22 -05:00
1 parent 810d2ca12c
commit 6a59dc91a0
5 files changed
+80 -45

No files matched your search

@@ -1299,6 +1299,10 @@ public class PacketHandlerServer{
String name = Server.readString(buffer);
int tab = buffer.readInt();
NBTTagCompound tagExtra = Server.readNBT(buffer);
NBTTagCompound tagCompound = Server.readNBT(buffer);
NBTTagList tagList = tagCompound.getTagList("TagUUIDs", 8);
data.cloned.setTag("TagUUIDs", tagList);
ServerCloneController.Instance.addClone(data.cloned, name, tab, tagExtra);
}
else if(type == EnumPacketServer.CloneRemove){