Fixed a small inventory bug

This commit is contained in:
aidancbrady committed 2015-06-04 01:17:49 -04:00
1 parent 374a7e95b5
commit 08de0ba743
3 files changed
+3 -2

No files matched your search

@@ -143,7 +143,7 @@ public final class InventoryUtils
if(!force)
{
if(!sidedInventory.isItemValidForSlot(slotID, toInsert) && !sidedInventory.canInsertItem(slotID, toInsert, ForgeDirection.OPPOSITES[side]))
if(!sidedInventory.isItemValidForSlot(slotID, toInsert) || !sidedInventory.canInsertItem(slotID, toInsert, ForgeDirection.OPPOSITES[side]))
{
continue;
}