Energy Cubes and Gas Tanks now have configurable item inputs and gas/energy outputs, fixed Portable Tank item output

This commit is contained in:
aidancbrady committed 2016-01-29 00:34:50 -05:00
1 parent 0a135a6936
commit a22b33a629
24 files changed
+287 -118

No files matched your search

@@ -185,7 +185,7 @@ public class GuiTransporterConfig extends GuiMekanism
{
if(xAxis >= 6 && xAxis <= 20 && yAxis >= 6 && yAxis <= 20)
{
int guiId = MachineType.get(tile.getBlockType(), tile.getBlockMetadata()).guiId;
int guiId = Mekanism.proxy.getGuiId(tile.getBlockType(), tile.getBlockMetadata());
SoundHandler.playSound("gui.button.press");
Mekanism.packetHandler.sendToServer(new SimpleGuiMessage(Coord4D.get(tile), 0, guiId));
}