fixed wrong variable in condition.
This commit is contained in:
parent
047cb4eaed
commit
9d80b9e4fb
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ public class TransactorRoundRobin extends TransactorSimple {
|
||||||
int minSimilar = Integer.MAX_VALUE;
|
int minSimilar = Integer.MAX_VALUE;
|
||||||
int minSlot = -1;
|
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);
|
ItemStack stackInInventory = inventory.getStackInSlot(j);
|
||||||
|
|
||||||
if(stackInInventory == null)
|
if(stackInInventory == null)
|
||||||
|
|
Loading…
Reference in a new issue