From 9d80b9e4fbb6871c1360a2856f421c35f2ea5ffc Mon Sep 17 00:00:00 2001 From: Andrew Hill Date: Mon, 10 Sep 2012 08:17:36 +1000 Subject: [PATCH] fixed wrong variable in condition. --- common/buildcraft/core/inventory/TransactorRoundRobin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/core/inventory/TransactorRoundRobin.java b/common/buildcraft/core/inventory/TransactorRoundRobin.java index 37e288b7..bf638cf5 100644 --- a/common/buildcraft/core/inventory/TransactorRoundRobin.java +++ b/common/buildcraft/core/inventory/TransactorRoundRobin.java @@ -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)