Revert "NPC Skin Changes"

This commit is contained in:
Luis C.M authored and GitHub committed 2022-05-29 00:59:40 -05:00
1 parent 3b6668ea15
commit fd0a99b3ed
13 files changed
+64 -106

No files matched your search

@@ -73,14 +73,14 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
}
/**
* @param modelType The modelType of the NPC. 0: Steve, 1: Alex
* @param modelType The modelType of the NPC. 0: Steve, 1: Steve64, 2: Alex
*/
public void setModelType(int modelType){
if(modelType > 1)
modelType = 1;
if(modelType > 2)
modelType = 2;
else if(modelType < 0)
modelType = 0;
npc.display.modelType = modelType + 1;
npc.display.modelType = modelType;
npc.script.clientNeedsUpdate = true;
}