Merge pull request #236 from AartBluestoke/patch-1
fixed wrong variable in condition.
This commit is contained in:
commit
0c4f9bae9e
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ public class TransactorRoundRobin extends TransactorSimple {
|
|||
int minSimilar = Integer.MAX_VALUE;
|
||||
int minSlot = -1;
|
||||
|
||||
for (int j = 0; j < inventory.getSizeInventory() && minSlot > 1; ++j) {
|
||||
for (int j = 0; j < inventory.getSizeInventory() && minSimilar > 1; ++j) {
|
||||
ItemStack stackInInventory = inventory.getStackInSlot(j);
|
||||
|
||||
if(stackInInventory == null)
|
||||
|
|
Loading…
Reference in a new issue