@Override protected void actionPerformed(GuiButton par1GuiButton) { if (par1GuiButton instanceof IRadioButton) ((IRadioButton) par1GuiButton).enableFromClick(); else buttonListMM.get(0).enabled = !buttonListMM.get(0).enabled; mobMagnet.adult = buttonListMM.get(0).enabled; ThaumicTinkerer.netHandler.sendToServer(new PacketMobMagnetButton(mobMagnet)); }