From 4a5e9f4d5b88de0d6f50b7d884fee1ccbb7b144e Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sat, 28 Jun 2014 00:20:37 -0500 Subject: [PATCH] Clicking on crafting slots with an item in your hand no longer switches guis --- client/gui/AEBaseGui.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gui/AEBaseGui.java b/client/gui/AEBaseGui.java index 66d3391ac..4e8b3dc4a 100644 --- a/client/gui/AEBaseGui.java +++ b/client/gui/AEBaseGui.java @@ -250,7 +250,7 @@ public abstract class AEBaseGui extends GuiContainer action = ctrlDown == 1 ? InventoryAction.SPLIT_OR_PLACESINGLE : InventoryAction.PICKUP_OR_SETDOWN; stack = ((SlotME) slot).getAEStack(); - if ( stack != null && action == InventoryAction.PICKUP_OR_SETDOWN && stack.getStackSize() == 0 ) + if ( stack != null && action == InventoryAction.PICKUP_OR_SETDOWN && stack.getStackSize() == 0 && player.inventory.getItemStack() == null ) action = InventoryAction.AUTOCRAFT; break;