Merge pull request #636 from powercrystals/master

Additional transactor fix for getInventoryStackLimit
This commit is contained in:
CovertJaguar 2013-02-13 23:00:20 -08:00
commit 28639f46cc

View file

@ -45,7 +45,7 @@ public class TransactorSimple extends Transactor {
continue;
}
if (inventory.getStackInSlot(i).stackSize >= inventory.getStackInSlot(i).getMaxStackSize()) {
if (inventory.getStackInSlot(i).stackSize >= inventory.getStackInSlot(i).getMaxStackSize() || inventory.getStackInSlot(i).stackSize >= inventory.getInventoryStackLimit()) {
continue;
}