From 8c078368a12404011e03c1098f1868a0dcf0de86 Mon Sep 17 00:00:00 2001 From: mezz Date: Mon, 13 Aug 2018 20:24:47 -0700 Subject: [PATCH] Fix broken info recipes --- src/main/java/mezz/jei/startup/ModRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);