mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 09:39:05 +00:00
Change attackDelay variable to be called SwingWarmup | Better Naming
This commit is contained in:
1 parent
eb01579f4a
commit
76000ecf55
6 files changed
+23
-14
No files matched your search
@@ -35,8 +35,8 @@ public class SubGuiNpcMeleeProperties extends SubGuiInterface implements ITextfi
|
||||
getTextField(3).integersOnly = true;
|
||||
getTextField(3).setMinMaxDefault(1, Integer.MAX_VALUE, 20);
|
||||
|
||||
addLabel(new GuiNpcLabel(8,"stats.swingdelay", guiLeft + 130, guiTop + 75));
|
||||
addTextField(new GuiNpcTextField(8,this, fontRendererObj, guiLeft + 220, guiTop + 70, 30, 18, stats.attackDelay+""));
|
||||
addLabel(new GuiNpcLabel(8,"stats.swingwarmup", guiLeft + 130, guiTop + 75));
|
||||
addTextField(new GuiNpcTextField(8,this, fontRendererObj, guiLeft + 220, guiTop + 70, 30, 18, stats.swingWarmUp +""));
|
||||
getTextField(8).integersOnly = true;
|
||||
getTextField(8).setMinMaxDefault(0, 1000, 0);
|
||||
|
||||
@@ -76,7 +76,7 @@ public class SubGuiNpcMeleeProperties extends SubGuiInterface implements ITextfi
|
||||
stats.potionDuration = textfield.getInteger();
|
||||
}
|
||||
else if(textfield.id == 8){
|
||||
stats.attackDelay = textfield.getInteger();
|
||||
stats.swingWarmUp = textfield.getInteger();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user