Fix Logistical Transporter Item Loss (#1353)
This commit is contained in:
parent
5a830699e7
commit
17c8874bc2
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ public final class InventoryUtils
|
||||||
|
|
||||||
if(sidedInventory.getStackInSlot(slotID) != null && sidedInventory.getStackInSlot(slotID).stackSize > 0)
|
if(sidedInventory.getStackInSlot(slotID) != null && sidedInventory.getStackInSlot(slotID).stackSize > 0)
|
||||||
{
|
{
|
||||||
ItemStack toSend = sidedInventory.getStackInSlot(slotID);
|
ItemStack toSend = sidedInventory.getStackInSlot(slotID).copy();
|
||||||
toSend.stackSize = 1;
|
toSend.stackSize = 1;
|
||||||
|
|
||||||
if(sidedInventory.canExtractItem(slotID, toSend, side))
|
if(sidedInventory.canExtractItem(slotID, toSend, side))
|
||||||
|
|
Loading…
Add table
Reference in a new issue