Fixing minor Auto-detected smelting issue

Auto-detected portable smelting recipes should now take into account the output number of the recipe.

Example here (Wheat Block smelts to 3 Bread each) : http://puu.sh/1nuLD
This commit is contained in:
Minerman 2012-11-07 11:09:48 -05:00
parent 5b4a6e1128
commit b1f15e0050

View file

@ -142,7 +142,7 @@ public class RecipeHelper {
for (int i = 2; i < 9; i++)
list[i] = new ItemStack(input.getItem(), 1, input.getItemDamage());
GameRegistry.addShapelessRecipe(new ItemStack(result.getItem(), 7, result.getItemDamage()), list);
GameRegistry.addShapelessRecipe(new ItemStack(result.getItem(), (result.stackSize*7), result.getItemDamage()), list);
}
}