Fix Attack Invisible Button

This commit is contained in:
Kam committed 2025-03-31 21:29:49 -04:00
1 parent a6a1f7525e
commit 1ae6e031f1
1 file changed
+1 -1
@@ -120,7 +120,7 @@ public class GuiNpcStats extends GuiNPCInterface2 implements ITextfieldListener,
} else if (button.id == 17) {
stats.potionImmune = ((GuiNpcButtonYesNo) guibutton).getBoolean();
} else if (button.id == 18) {
stats.potionImmune = ((GuiNpcButtonYesNo) guibutton).getBoolean();
stats.attackInvisible = ((GuiNpcButtonYesNo) guibutton).getBoolean();
} else if (button.id == 21) {
// Magic Button
stats.resistances.disableDamage = ((GuiNpcButton) guibutton).getValue() == 1;