Fix UUIDs not saving to NPCs - Revert TagMapUUID List

This commit is contained in:
KAMKEEL committed 2023-03-22 21:27:20 -04:00
1 parent aa02580c28
commit 9d68a5e079
4 files changed
+19 -29

No files matched your search

@@ -50,7 +50,7 @@ public class GuiNpcMobSpawner extends GuiNPCInterface implements IGuiData {
this.closeOnEsc = true;
setBackground("menubg.png");
Client.sendData(EnumPacketServer.TagsGet);
Client.sendData(EnumPacketServer.CloneAllTags, activeTab);
}
public void initGui()
{
@@ -357,6 +357,7 @@ public class GuiNpcMobSpawner extends GuiNPCInterface implements IGuiData {
Tag tag = new Tag();
tag.readNBT(tagStructure);
tags.put(tag.uuid, tag);
tagNames.put(tag.name, tag.uuid);
}
}
}