fix lists only using the first stack per line

This commit is contained in:
Hea3veN 2015-05-13 07:45:10 -03:00
parent b8675dc414
commit 1ef57453be

View file

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