mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 07:19:05 +00:00
Fix Attack Invisible Button
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user