Merge pull request #636 from powercrystals/master
Additional transactor fix for getInventoryStackLimit
This commit is contained in:
commit
28639f46cc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue