diff --git a/src/main/java/noppes/npcs/client/gui/model/GuiCreationScreen.java b/src/main/java/noppes/npcs/client/gui/model/GuiCreationScreen.java index 1aec9f0b4..823ed7c86 100644 --- a/src/main/java/noppes/npcs/client/gui/model/GuiCreationScreen.java +++ b/src/main/java/noppes/npcs/client/gui/model/GuiCreationScreen.java @@ -349,7 +349,7 @@ public class GuiCreationScreen extends GuiModelInterface implements ICustomScrol private void updateTexture(){ try{ EntityLivingBase entity = playerdata.getEntity(npc); - if (entity.equals(npc.modelData.entity)) { + if (entity != null && entity.equals(npc.modelData.entity)) { return; }