mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 13:10:13 +00:00
Fixed odd crash.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user