mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
Revert "NPC Skin Changes"
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user