mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 20:09:49 +00:00
More fixes to setting NPC model types.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user