diff --git a/src/main/java/mezz/jei/startup/ModRegistry.java b/src/main/java/mezz/jei/startup/ModRegistry.java index e23c4eedf..5155094bd 100644 --- a/src/main/java/mezz/jei/startup/ModRegistry.java +++ b/src/main/java/mezz/jei/startup/ModRegistry.java @@ -247,7 +247,7 @@ public void addDescription(ItemStack itemStack, String... descriptionKeys) { @Override public void addIngredientInfo(T ingredient, IIngredientType ingredientType, String... descriptionKeys) { ErrorUtil.checkIsValidIngredient(ingredient, "ingredient"); - ErrorUtil.checkIsValidIngredient(ingredientType, "ingredientType"); + ErrorUtil.checkNotNull(ingredientType, "ingredientType"); ErrorUtil.checkNotEmpty(descriptionKeys, "descriptionKeys"); addIngredientInfo(Collections.singletonList(ingredient), ingredientType, descriptionKeys);