Removed duplicate code

This also prevents the storage bus from sending 2 packets instead of 1 when the fuzzy button is pressed
This commit is contained in:
The Paper Pilot 2014-09-28 11:58:21 -05:00
parent d3699f00e5
commit 1cf54c515e

View file

@ -96,9 +96,6 @@ public class GuiStorageBus extends GuiUpgradeable
else if ( btn == priority )
NetworkHandler.instance.sendToServer( new PacketSwitchGuis( GuiBridge.GUI_PRIORITY ) );
else if ( btn == fuzzyMode )
NetworkHandler.instance.sendToServer( new PacketConfigButton( fuzzyMode.getSetting(), backwards ) );
else if ( btn == rwMode )
NetworkHandler.instance.sendToServer( new PacketConfigButton( rwMode.getSetting(), backwards ) );