fixed wrong variable in condition.

This commit is contained in:
Andrew Hill 2012-09-10 08:17:36 +10:00
parent 047cb4eaed
commit 9d80b9e4fb

View file

@ -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)