Clicking on crafting slots with an item in your hand no longer switches guis
This commit is contained in:
parent
c99964dad6
commit
4a5e9f4d5b
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ public abstract class AEBaseGui extends GuiContainer
|
||||||
action = ctrlDown == 1 ? InventoryAction.SPLIT_OR_PLACESINGLE : InventoryAction.PICKUP_OR_SETDOWN;
|
action = ctrlDown == 1 ? InventoryAction.SPLIT_OR_PLACESINGLE : InventoryAction.PICKUP_OR_SETDOWN;
|
||||||
stack = ((SlotME) slot).getAEStack();
|
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;
|
action = InventoryAction.AUTOCRAFT;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue