diff --git a/src/main/java/com/pahimar/ee3/api/RecipeMapping.java b/src/main/java/com/pahimar/ee3/api/RecipeMapping.java index fe9485cf..b61edcd5 100644 --- a/src/main/java/com/pahimar/ee3/api/RecipeMapping.java +++ b/src/main/java/com/pahimar/ee3/api/RecipeMapping.java @@ -34,16 +34,14 @@ public class RecipeMapping implements JsonSerializer, JsonDeseria { wrappedStacks.add(wrappedStack); } + else + { + LogHelper.warning(String.format("RecipeMapping with output: %s is containing a null WrappedStack " + + "input that will not be added to the input list.", outputWrappedStack.toString())); + } } - if (inputStacks.size() == wrappedStacks.size()) - { - this.inputWrappedStacks = wrappedStacks; - } - else - { - this.inputWrappedStacks = null; - } + this.inputWrappedStacks = wrappedStacks; } public static RecipeMapping createFromJson(String jsonRecipeMapping)