Fixed issue where the Crafter Manager can crash on invalid patterns. Fixes #2723

This commit is contained in:
raoulvdberge
2020-11-11 19:06:10 +01:00
parent b97e2bb835
commit 1ddda1f640
2 changed files with 10 additions and 7 deletions

View File

@@ -3,7 +3,8 @@
### 1.9.9
- Fixed Refined Storage sidebuttons displaying over the JEI bookmark pagination buttons (raoulvdberge)
- Fixed Issue where Crafters may fail to recognize an inventory/tank for some Patterns (Darkere)
- Fixed issue where Crafters may fail to recognize an inventory/tank for some patterns (Darkere)
- Fixed issue where the Crafter Manager can crash on invalid patterns (raoulvdberge)
### 1.9.8

View File

@@ -120,6 +120,7 @@ public class CrafterManagerContainer extends BaseContainer {
visible = false;
if (pattern.isValid()) {
for (ItemStack output : pattern.getOutputs()) {
ItemGridStack outputConverted = new ItemGridStack(output);
@@ -132,6 +133,7 @@ public class CrafterManagerContainer extends BaseContainer {
}
}
}
}
addSlot(new CrafterManagerSlot(dummy, slot, x, y, visible, screenInfoProvider, crafterManager));