From 4b76419beef7e26729eb17959cec4546137e4214 Mon Sep 17 00:00:00 2001 From: trinsdar <30245301+Trinsdar@users.noreply.github.com> Date: Thu, 28 Mar 2024 21:27:48 -0400 Subject: [PATCH] commented out code in ContainerWorkbench --- .../gtcore/gui/ContainerWorkbench.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/io/github/gregtechintergalactical/gtcore/gui/ContainerWorkbench.java b/common/src/main/java/io/github/gregtechintergalactical/gtcore/gui/ContainerWorkbench.java index 12f2847..1afe5d9 100644 --- a/common/src/main/java/io/github/gregtechintergalactical/gtcore/gui/ContainerWorkbench.java +++ b/common/src/main/java/io/github/gregtechintergalactical/gtcore/gui/ContainerWorkbench.java @@ -64,7 +64,7 @@ protected void addSlots(BlockEntityMachine tile) { @Override public void clicked(int slotId, int dragType, ClickType clickTypeIn, Player player) { - boolean clickTypeCrafting = slotId == 0 && slots.get(slotId).hasItem() && + /*boolean clickTypeCrafting = slotId == 0 && slots.get(slotId).hasItem() && (clickTypeIn.equals(ClickType.PICKUP) || clickTypeIn.equals(ClickType.QUICK_MOVE)); //Save the Matrix State before Crafting @@ -75,12 +75,12 @@ public void clicked(int slotId, int dragType, ClickType clickTypeIn, Player play ItemStack matrixStack = matrixSlot.getItem(); beforeAction.set(i - 17, matrixStack.copy()); } - } + }*/ super.clicked(slotId, dragType, clickTypeIn, player); //Try to pull from the Project Table Inventory if the last of an item for a recipe. - if(clickTypeCrafting){ + /*if(clickTypeCrafting){ for (int i = 17; i < 26; ++i) { ItemStack beforeStack = beforeAction.get(i - 17); Slot matrixSlot = slots.get(i); @@ -100,7 +100,7 @@ public void clicked(int slotId, int dragType, ClickType clickTypeIn, Player play } } } - } + }*/ } protected static void updateCrafting(int id, int stateID, Level world, Player playerEntity, CraftingContainer craftingInventory, ResultContainer craftResultInventory) {