diff --git a/src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java b/src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java index 29074db9d..323a522e3 100644 --- a/src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java +++ b/src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java @@ -73,14 +73,14 @@ public class ScriptNpc extends ScriptLiving imp } /** - * @param modelType The modelType of the NPC. 0: Steve, 1: Steve64, 2: Alex + * @param modelType The modelType of the NPC. 0: Steve, 1: Alex */ public void setModelType(int modelType){ - if(modelType > 2) - modelType = 2; + if(modelType > 1) + modelType = 1; else if(modelType < 0) modelType = 0; - npc.display.modelType = modelType; + npc.display.modelType = modelType * 2; npc.script.clientNeedsUpdate = true; }