summaryrefslogtreecommitdiff
path: root/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java
diff options
context:
space:
mode:
Diffstat (limited to 'common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java')
-rw-r--r--common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java b/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java
index d25d369..58ba82a 100644
--- a/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java
+++ b/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java
@@ -7,6 +7,7 @@ import net.minecraft.network.packet.Packet;
import net.minecraft.network.packet.Packet132TileEntityData;
import net.minecraft.tileentity.TileEntity;
import darkknight.jewelrycraft.item.ItemList;
+import darkknight.jewelrycraft.util.JewelryNBT;
public class TileEntityMolder extends TileEntity
{
@@ -93,6 +94,8 @@ public class TileEntityMolder extends TileEntity
this.jewelBase = moltenMetal;
else
this.jewelBase = new ItemStack(ItemList.ring);
+ if(mold.getItemDamage() != 0 && jewelBase != new ItemStack(0, 0, 0))
+ JewelryNBT.addMetal(jewelBase, ringMetal);
this.moltenMetal = new ItemStack(0, 0, 0);
this.hasJewelBase = true;
}