From a69dc8eb56a198ce967fd147c9a90f9efd7ddfd6 Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Sun, 17 Aug 2014 21:27:12 +0200 Subject: [PATCH] Fix autosmelt-interaction not respecting the amount of items created by the smelting-recipe. --- src/main/java/tconstruct/tools/TActiveOmniMod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/tconstruct/tools/TActiveOmniMod.java b/src/main/java/tconstruct/tools/TActiveOmniMod.java index f19100d4..ce411cb6 100644 --- a/src/main/java/tconstruct/tools/TActiveOmniMod.java +++ b/src/main/java/tconstruct/tools/TActiveOmniMod.java @@ -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)