From 17c8874bc288a516b3643fd096b5801f9cec2e71 Mon Sep 17 00:00:00 2001 From: dschub Date: Wed, 28 May 2014 16:23:48 +0200 Subject: [PATCH] Fix Logistical Transporter Item Loss (#1353) --- common/mekanism/common/util/InventoryUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/mekanism/common/util/InventoryUtils.java b/common/mekanism/common/util/InventoryUtils.java index 7330f3e0d..e87ae0b00 100644 --- a/common/mekanism/common/util/InventoryUtils.java +++ b/common/mekanism/common/util/InventoryUtils.java @@ -197,7 +197,7 @@ public final class InventoryUtils if(sidedInventory.getStackInSlot(slotID) != null && sidedInventory.getStackInSlot(slotID).stackSize > 0) { - ItemStack toSend = sidedInventory.getStackInSlot(slotID); + ItemStack toSend = sidedInventory.getStackInSlot(slotID).copy(); toSend.stackSize = 1; if(sidedInventory.canExtractItem(slotID, toSend, side))