A bunch more null check \o/
This commit is contained in:
parent
97e5fcc032
commit
5dff31d937
19 changed files with 33 additions and 29 deletions
|
@ -240,7 +240,7 @@ public class CraftingInfoPage extends TitledPage {
|
|||
continue;
|
||||
|
||||
ItemStack result = recipe.getRecipeOutput();
|
||||
if (result == null || !result.isItemEqual(resultingItem))
|
||||
if (result == ItemStack.EMPTY || !result.isItemEqual(resultingItem))
|
||||
continue;
|
||||
|
||||
Object[] input = getRecipeInput(recipe);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue