Enabled fly button in movement, and set max value for fields as Integer.MAX_VALUE for various fields.

This commit is contained in:
luisc committed 2021-12-01 18:46:48 -06:00
1 parent 17eb612fb8
commit 44d4e74279
10 files changed
+30 -27

No files matched your search

@@ -39,7 +39,7 @@ public class GuiNpcStats extends GuiNPCInterface2 implements ITextfieldListener,
addLabel(new GuiNpcLabel(1,"stats.aggro", guiLeft + 140, y + 5));
addTextField(new GuiNpcTextField(1, this, fontRendererObj, guiLeft + 220, y, 50, 18, stats.aggroRange+""));
getTextField(1).numbersOnly = true;
getTextField(1).setMinMaxDefault(1, 64, 2);
getTextField(1).setMinMaxDefault(1, Integer.MAX_VALUE, 2);
addLabel(new GuiNpcLabel(34,"stats.creaturetype", guiLeft + 275, y + 5));
addButton(new GuiNpcButton(8,guiLeft + 355, y, 56, 20, new String[]{"stats.normal","stats.undead","stats.arthropod"} ,stats.creatureType.ordinal()));