summaryrefslogtreecommitdiff
path: root/common/darkknight/jewelrycraft/block/BlockMolder.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2013-12-21 20:03:05 +0200
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2013-12-21 20:03:05 +0200
commitcaff6f5dc8c11632b88c54995cbd44eeb8eb856f (patch)
treeb2889cc1235f0c0e171b8cd139e347c9decb0169 /common/darkknight/jewelrycraft/block/BlockMolder.java
parent8e3546bfaf49e0e7805cb43e69cd2d3996ea484b (diff)
Trying to fix bugs
Diffstat (limited to 'common/darkknight/jewelrycraft/block/BlockMolder.java')
-rw-r--r--common/darkknight/jewelrycraft/block/BlockMolder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/darkknight/jewelrycraft/block/BlockMolder.java b/common/darkknight/jewelrycraft/block/BlockMolder.java
index 5b6465a..cd4b83b 100644
--- a/common/darkknight/jewelrycraft/block/BlockMolder.java
+++ b/common/darkknight/jewelrycraft/block/BlockMolder.java
@@ -56,7 +56,7 @@ public class BlockMolder extends BlockContainer
}
if (te.hasMold && entityPlayer.isSneaking())
{
- dropItem(world, (double)te.xCoord, (double)te.yCoord, (double)te.zCoord, te.mold);
+ dropItem(world, (double)te.xCoord, (double)te.yCoord, (double)te.zCoord, te.mold.copy());
te.mold = new ItemStack(0, 0, 0);
te.hasMold = false;
te.isDirty = true;
@@ -81,7 +81,7 @@ public class BlockMolder extends BlockContainer
if (te != null)
{
if(te.hasJewelBase) giveJewelToPlayer(te, te.jewelBase, te.ringMetal);
- if(te.hasMold) dropItem(world, (double)te.xCoord, (double)te.yCoord, (double)te.zCoord, te.mold);
+ if(te.hasMold) dropItem(world, (double)te.xCoord, (double)te.yCoord, (double)te.zCoord, te.mold.copy());
}
super.breakBlock(world, i, j, k, par5, par6);
@@ -95,7 +95,7 @@ public class BlockMolder extends BlockContainer
{
ItemRing.addMetal(item, metal);
}
- dropItem(md.worldObj, (double)md.xCoord, (double)md.yCoord, (double)md.zCoord, item);
+ dropItem(md.worldObj, (double)md.xCoord, (double)md.yCoord, (double)md.zCoord, item.copy());
md.isDirty = true;
}
}