diff --git a/Common/src/main/java/com/almostreliable/unified/api/recipe/RecipeContext.java b/Common/src/main/java/com/almostreliable/unified/api/recipe/RecipeContext.java index 9251710..754abe2 100644 --- a/Common/src/main/java/com/almostreliable/unified/api/recipe/RecipeContext.java +++ b/Common/src/main/java/com/almostreliable/unified/api/recipe/RecipeContext.java @@ -19,6 +19,7 @@ public interface RecipeContext { @Nullable UnifyTag getPreferredTagForItem(@Nullable ResourceLocation item); + @Nullable JsonElement createIngredientReplacement(@Nullable JsonElement element); @Nullable diff --git a/Common/src/main/java/com/almostreliable/unified/recipe/RecipeContextImpl.java b/Common/src/main/java/com/almostreliable/unified/recipe/RecipeContextImpl.java index 5c60f79..66f6d1e 100644 --- a/Common/src/main/java/com/almostreliable/unified/recipe/RecipeContextImpl.java +++ b/Common/src/main/java/com/almostreliable/unified/recipe/RecipeContextImpl.java @@ -57,8 +57,8 @@ public class RecipeContextImpl implements RecipeContext { return replacementMap.getPreferredTagForItem(item); } - @Override @Nullable + @Override public JsonElement createIngredientReplacement(@Nullable JsonElement element) { if (element == null) { return null;