Merge pull request #56 from gFreezer/master
Fix extraction from sided inventories
This commit is contained in:
commit
dd6641bc65
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ public class InvInteractionHelper
|
|||
ItemStack slotStack = inventory.getStackInSlot(slot);
|
||||
if (inventory.canExtractItem(slot, slotStack, direction.ordinal()))
|
||||
{
|
||||
ItemStack itemStack = this.removeStackFromInventory(i, inventory, ammount);
|
||||
ItemStack itemStack = this.removeStackFromInventory(slot, inventory, ammount);
|
||||
if (itemStack != null)
|
||||
{
|
||||
returnStack = itemStack;
|
||||
|
|
Loading…
Reference in a new issue