mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 23:37:32 +00:00
Fix Projectile Duration
This commit is contained in:
1 parent
7c69358b31
commit
98c1f97390
1 file changed
+1
-1
@@ -74,7 +74,7 @@ public class SubGuiNpcProjectiles extends SubGuiInterface implements ITextfieldL
|
||||
if (stats.pEffect != EnumPotionType.None) {
|
||||
int internalY = y + 30;
|
||||
addLabel(new GuiNpcLabel(50, "gui.time", guiLeft + 210, internalY + 5));
|
||||
addTextField(new GuiNpcTextField(5, this, fontRendererObj, guiLeft + 330, internalY, 52, 20, stats.potionDuration + ""));
|
||||
addTextField(new GuiNpcTextField(5, this, fontRendererObj, guiLeft + 330, internalY, 52, 20, stats.pDur + ""));
|
||||
getTextField(5).integersOnly = true;
|
||||
getTextField(5).setMinMaxDefault(1, Integer.MAX_VALUE, 5);
|
||||
if (stats.pEffect != EnumPotionType.Fire) {
|
||||
|
||||
Reference in new issue
Block a user