Fixed Solderer being able to work with insufficient ingredients, fixes #1317

This commit is contained in:
raoulvdberge
2017-06-22 17:00:55 +02:00
parent 1e6ccc1029
commit 8cb0b91811
2 changed files with 3 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ public class SoldererRegistry implements ISoldererRegistry {
if (API.instance().getComparer().isEqual(possibility, ingredients.getStackInSlot(i), IComparer.COMPARE_NBT | IComparer.COMPARE_DAMAGE | IComparer.COMPARE_STRIP_NBT)) {
if (ingredients.getStackInSlot(i).getCount() >= possibility.getCount()) {
rowsFound++;
break;
}
}
}