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

@@ -270,13 +270,13 @@ public class GuiCreationScreen extends GuiModelInterface implements ICustomScrol
// New Button for Changing Models
// URL Swapper
if(button.id == 250){
npc.display.modelType = button.getValue() * 2;
npc.display.modelType = button.displayString.equals("Alex") ? 2 : 1;
if(npc.display.modelType == 0){
if(npc.display.modelType == 1){
if (npc.display.skinType == 2){
npc.display.skinType = 3;
}
} else if(npc.display.modelType == 2) {
} else {
if (npc.display.skinType == 3){
npc.display.skinType = 2;
}