Fix Projectile Duration

This commit is contained in:
Kam committed 2025-04-15 20:37:30 -04:00
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) {