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

@@ -2,6 +2,7 @@
### 1.5.3 ### 1.5.3
- Fixed Solderer crashing (raoulvdberge) - Fixed Solderer crashing (raoulvdberge)
- Fixed Solderer being able to work with insufficient ingredients (raoulvdberge)
- Fixed Interface extracting from itself when trying to keep items in stock (raoulvdberge) - Fixed Interface extracting from itself when trying to keep items in stock (raoulvdberge)
- The Portable Grid now exposes an inventory for interaction with other mods or vanilla (raoulvdberge) - The Portable Grid now exposes an inventory for interaction with other mods or vanilla (raoulvdberge)
- The Relay now reacts instantly to a redstone signal again, removed throttling for it (raoulvdberge) - The Relay now reacts instantly to a redstone signal again, removed throttling for it (raoulvdberge)

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 (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()) { if (ingredients.getStackInSlot(i).getCount() >= possibility.getCount()) {
rowsFound++; rowsFound++;
break;
} }
} }
} }