Revert "Revert "WORKING MODEL CHANGER!""

This reverts commit d2b5ce2880.
This commit is contained in:
KAMKEEL committed 2021-04-29 20:42:52 -04:00
1 parent 2afbdbf94d
commit ea1672a242
12 files changed
+81 -92

No files matched your search

@@ -76,8 +76,8 @@ public class GuiNpcDisplay extends GuiNPCInterface2 implements ITextfieldListene
this.addButton(new GuiNpcButton(5, guiLeft + 120, y, 50, 20, new String[]{"gui.yes","gui.no"}, display.disableLivingAnimation?1:0));
// Square Texture Button
addLabel(new GuiNpcLabel(300,"display.squareTexture", guiLeft + 230, y + 5));
this.addButton(new GuiNpcButton(300, guiLeft + 313, y, 50, 20, new String[]{"gui.no","gui.yes"}, display.squareTexture));
// addLabel(new GuiNpcLabel(300,"display.squareTexture", guiLeft + 230, y + 5));
// this.addButton(new GuiNpcButton(300, guiLeft + 313, y, 50, 20, new String[]{"gui.no","gui.yes"}, display.squareTexture));
y+=23;
addLabel(new GuiNpcLabel(7,"display.visible", guiLeft + 5, y + 5));
@@ -150,9 +150,9 @@ public class GuiNpcDisplay extends GuiNPCInterface2 implements ITextfieldListene
else if(button.id == 7){
display.visible = button.getValue();
}
else if(button.id == 300){
display.squareTexture = (byte)button.getValue();
}
// else if(button.id == 300){
// display.squareTexture = (byte)button.getValue();
// }
else if(button.id == 8){
NoppesUtil.openGUI(player, new GuiNpcTextureCloaks(npc, this));
}