mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 04:04:28 +00:00
Fix UUIDs not saving to NPCs - Revert TagMapUUID List
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user