@Override
protected void actionPerformed(GuiButton button) {
if(button.id == 0 || button.id == 1) {
boolean newSetting = button.id == 0;
if(newSetting != reactor.getActive()) {
CommonPacketHandler.INSTANCE.sendToServer(new MachineCommandActivateMessage(reactor, newSetting));
}
}
else if(button.id >= 2 && button.id <= 4) {
WasteEjectionSetting newEjectionSetting;
switch(button.id) {