292293294295296297298299300
if(button.id == 7 || button.id == 8) { boolean newStatus = button.id == 7; if(newStatus != turbine.getInductorEngaged()) { CommonPacketHandler.INSTANCE.sendToServer(new TurbineChangeInductorMessage(turbine, newStatus)); } } }