More fixes to setting NPC model types.

This commit is contained in:
Luis C.M committed 2022-05-28 07:06:38 -05:00
1 parent 968b43a321
commit 0028328db4
3 files changed
+8 -6

No files matched your search

@@ -80,7 +80,7 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
modelType = 1;
else if(modelType < 0)
modelType = 0;
npc.display.modelType = modelType * 2;
npc.display.modelType = modelType + 1;
npc.script.clientNeedsUpdate = true;
}