diff --git a/src/minecraft/dark/assembly/common/machine/InvInteractionHelper.java b/src/minecraft/dark/assembly/common/machine/InvInteractionHelper.java index 32aba77c..ee1eb0cc 100644 --- a/src/minecraft/dark/assembly/common/machine/InvInteractionHelper.java +++ b/src/minecraft/dark/assembly/common/machine/InvInteractionHelper.java @@ -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;