Fixed dropping items on the ground when clicking on a crafting label with items in hand
This commit is contained in:
parent
b61219ef88
commit
e65083b045
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ public abstract class AEBaseGui extends GuiContainer
|
|||
action = ( mouseButton == 1 ) ? InventoryAction.SPLIT_OR_PLACE_SINGLE : InventoryAction.PICKUP_OR_SET_DOWN;
|
||||
stack = ( (SlotME) slot ).getAEStack();
|
||||
|
||||
if( stack != null && action == InventoryAction.PICKUP_OR_SET_DOWN && stack.getShowCraftingLabel() )
|
||||
if( stack != null && action == InventoryAction.PICKUP_OR_SET_DOWN && stack.getShowCraftingLabel() && player.inventory.getItemStack().isEmpty() )
|
||||
{
|
||||
action = InventoryAction.AUTO_CRAFT;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue