Merge pull request #490 from RedmenNL/master
Fixed recipe value assignment when mods with custom IRecipe handler are added
This commit is contained in:
commit
281716346a
1 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,11 @@ public class RecipesVanilla {
|
|||
if (recipeOutput != null) {
|
||||
|
||||
ArrayList<CustomWrappedStack> recipeInputs = RecipeHelper.getRecipeInputs(recipe);
|
||||
vanillaRecipes.put(new CustomWrappedStack(recipeOutput), recipeInputs);
|
||||
|
||||
if (!recipeInputs.isEmpty())
|
||||
{
|
||||
vanillaRecipes.put(new CustomWrappedStack(recipeOutput), recipeInputs);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue