fix lists only using the first stack per line, fixes #2422

This commit is contained in:
Hea3veN 2015-02-02 19:54:39 -03:00
parent 5771b6b9e7
commit d52aa02453

View file

@ -199,7 +199,7 @@ public class ItemList extends ItemBuildCraft {
return oreMatch(stacks[0], item);
} else {
for (ItemStack stack : stacks) {
if (stack != null && StackHelper.isMatchingItemOrList(stacks[0], item)) {
if (stack != null && StackHelper.isMatchingItemOrList(stack, item)) {
return true;
}
}