Merge pull request #1157 from Dimach/unstable-1
Fixed bug - isAllowedToPutIntoSlot don't check size of inventory.
This commit is contained in:
commit
2c50b0a825
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ public class GT_Utility {
|
|||
}
|
||||
if (aTileEntity instanceof ISidedInventory && !((ISidedInventory) aTileEntity).canInsertItem(aSlot, aStack, aSide))
|
||||
return false;
|
||||
return aTileEntity.isItemValidForSlot(aSlot, aStack);
|
||||
return aSlot < aTileEntity.getSizeInventory() && aTileEntity.isItemValidForSlot(aSlot, aStack);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue