Fixed BIG ISidedInventory Bug
This commit is contained in:
parent
7f08eaa0ef
commit
bf481c0eca
1 changed files with 1 additions and 2 deletions
|
@ -265,7 +265,7 @@ public class TileEntityManipulator extends TileEntityFilterable implements IRota
|
|||
|
||||
for (int i = startIndex; i < startIndex + inventory.getSizeInventorySide(direction); i++)
|
||||
{
|
||||
itemStack = this.addStackToInventory(startIndex, inventory, itemStack);
|
||||
itemStack = this.addStackToInventory(i, inventory, itemStack);
|
||||
if (itemStack == null) { return null; }
|
||||
}
|
||||
}
|
||||
|
@ -296,7 +296,6 @@ public class TileEntityManipulator extends TileEntityFilterable implements IRota
|
|||
{
|
||||
inventory.setInventorySlotContents(slotIndex, itemStack);
|
||||
if (inventory.getStackInSlot(slotIndex) == null) { return itemStack; }
|
||||
|
||||
return null;
|
||||
}
|
||||
else if (stackInInventory.isItemEqual(itemStack) && stackInInventory.isStackable())
|
||||
|
|
Loading…
Reference in a new issue