From 26e10439a576e08bc3261a6d7c6c00c6cad7b761 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Mon, 10 Oct 2016 16:35:28 +1000 Subject: + Added some Geothermal Generators. + Added recipes and fuels for all Geothermals. (Normal Lava and Pahoehoe Lava) $ Fixed workbench not saving crafting table contents when closed. % Changed internal loading of Workbenches, Tanks and Geothermals. % Disabled old workbench buttons, now using Gregtech Holo slots. --- src/Java/gtPlusPlus/core/gui/machine/GUI_Workbench.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Java/gtPlusPlus/core/gui/machine') diff --git a/src/Java/gtPlusPlus/core/gui/machine/GUI_Workbench.java b/src/Java/gtPlusPlus/core/gui/machine/GUI_Workbench.java index 2da4c7bc7c..0507e9099e 100644 --- a/src/Java/gtPlusPlus/core/gui/machine/GUI_Workbench.java +++ b/src/Java/gtPlusPlus/core/gui/machine/GUI_Workbench.java @@ -52,8 +52,8 @@ public class GUI_Workbench extends GuiContainer { super.initGui(); //The parameters of GuiButton are(id, x, y, width, height, text); - this.buttonList.add(new GuiButton( 1, 367, 132, 18, 18, "X")); - this.buttonList.add(new GuiButton( 2, 385, 132, 18, 18, "Y")); + //this.buttonList.add(new GuiButton( 1, 367, 132, 18, 18, "X")); + //this.buttonList.add(new GuiButton( 2, 385, 132, 18, 18, "Y")); //NOTE: the id always has to be different or else it might get called twice or never! //Add any other buttons here too! @@ -65,12 +65,12 @@ public class GUI_Workbench extends GuiContainer { //If the button id is different, or you have mrs buttons, create another if block for that too! if(B.id == 1){ System.out.println("Trying to empty crafting grid to the storage compartment."); - moveItemsToChest = true; + //moveItemsToChest = true; ((Container_Workbench) this.inventorySlots).moveCraftingToChest(); } else if(B.id == 2){ System.out.println("Trying to move items into the crafting grid."); - moveItemsToCrafting = true; + //moveItemsToCrafting = true; ((Container_Workbench) this.inventorySlots).moveChestToCrafting(); } -- cgit