Merge pull request #236 from AartBluestoke/patch-1

fixed wrong variable in condition.
This commit is contained in:
SirSengir 2012-09-09 23:28:38 -07:00
commit 0c4f9bae9e

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)