Merge pull request #490 from RedmenNL/master

Fixed recipe value assignment when mods with custom IRecipe handler are added
This commit is contained in:
pahimar 2013-11-19 08:27:47 -08:00
commit 281716346a

View file

@ -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);
}
}
}
}