Fix autosmelt-interaction not respecting the amount of items created by the smelting-recipe.

This commit is contained in:
Bernhard Bonigl committed 2014-08-17 21:27:12 +02:00
1 parent 763ad77967
commit a69dc8eb56
1 file changed
+1 -1
@@ -81,7 +81,7 @@ public class TActiveOmniMod extends ActiveToolMod
tool.onBlockDestroyed(stack, world, block, x, y, z, entity);
if (!world.isRemote)
{
ItemStack spawnme = new ItemStack(result.getItem(), amount, result.getItemDamage());
ItemStack spawnme = new ItemStack(result.getItem(), amount*result.stackSize, result.getItemDamage());
if (result.hasTagCompound())
spawnme.setTagCompound(result.getTagCompound());
if (!(result.getItem() instanceof ItemBlock) && PHConstruct.lavaFortuneInteraction)