mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Allow Tag Modifying through Cloner without Closing + Fix Removing All Tags Bug
This commit is contained in:
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){
|
||||
|
||||
Reference in new issue
Block a user