Fixed odd crash.

This commit is contained in:
CrazyPants committed 2014-07-27 21:49:54 +08:00
1 parent 3b7b43b689
commit a1b12f75c6
1 file changed
+1 -1
@@ -26,7 +26,7 @@ public class RecipeInput extends RecipeComponent implements IRecipeInput {
}
public RecipeInput(ItemStack input) {
this(input, input == null ? false : input.getItemDamage() == 0);
this(input, input == null ? false : (input.getItem() == null ? false : input.getItemDamage() == 0));
}
public RecipeInput(ItemStack input, boolean addSubtypes) {