This commit is contained in:
Kam committed 2025-06-02 15:09:29 -04:00
commit ce9941e3ee
1 file changed
+1
@@ -119,6 +119,7 @@ public class GuiNpcAdvanced extends GuiNPCInterface2 implements IGuiData {
@Override
public void setGuiData(NBTTagCompound compound) {
if (compound.hasKey("RoleData")) {
npc.advanced.setRole(compound.getByte("RoleData"));
if (npc.roleInterface != null)
npc.roleInterface.readFromNBT(compound);