Version 2.4.1 build with forge 1.3.3.12

This commit is contained in:
Christian Weeks 2012-02-17 14:09:06 -05:00
parent 2b87f68da5
commit 0c3e0e7a0b
4 changed files with 5 additions and 5 deletions

View File

@ -13,8 +13,8 @@
</description> </description>
<property name="modname" value="mod_ironchests" /> <property name="modname" value="mod_ironchests" />
<property name="version" value="2.4" /> <property name="version" value="2.4.1" />
<property name="mcp.home" location="/home/cpw/minecraft1dev/forge1.31" /> <property name="mcp.home" location="/home/cpw/minecraft1dev/forge1.3.3.12" />
<property name="mcp.obfoutput" location="${mcp.home}/reobf" /> <property name="mcp.obfoutput" location="${mcp.home}/reobf" />
<property name="client.mcp.obfoutput" location="${mcp.obfoutput}/minecraft" /> <property name="client.mcp.obfoutput" location="${mcp.obfoutput}/minecraft" />
<property name="server.mcp.obfoutput" location="${mcp.obfoutput}/minecraft_server" /> <property name="server.mcp.obfoutput" location="${mcp.obfoutput}/minecraft_server" />

View File

@ -174,7 +174,7 @@ public class BlockIronChest extends BlockContainer implements ITextureProvider,
entityitem.motionZ = (float)random.nextGaussian() * f3; entityitem.motionZ = (float)random.nextGaussian() * f3;
if (itemstack.hasTagCompound()) if (itemstack.hasTagCompound())
{ {
mod_IronChest.proxy.applyExtraDataToDrops(entityitem, (NBTTagCompound)itemstack.getTagCompound().cloneTag()); mod_IronChest.proxy.applyExtraDataToDrops(entityitem, (NBTTagCompound)itemstack.getTagCompound().copy());
} }
world.spawnEntityInWorld(entityitem); world.spawnEntityInWorld(entityitem);
} }

View File

@ -184,7 +184,7 @@ public class TileEntityIronChest extends TileEntity implements IInventory {
NBTTagCompound nbttagcompound1 = new NBTTagCompound(); NBTTagCompound nbttagcompound1 = new NBTTagCompound();
nbttagcompound1.setByte("Slot", (byte)i); nbttagcompound1.setByte("Slot", (byte)i);
chestContents[i].writeToNBT(nbttagcompound1); chestContents[i].writeToNBT(nbttagcompound1);
nbttaglist.setTag(nbttagcompound1); nbttaglist.appendTag(nbttagcompound1);
} }
} }

View File

@ -43,7 +43,7 @@ public class ServerProxy implements IProxy {
@Override @Override
public void applyExtraDataToDrops(EntityItem entityitem, NBTTagCompound data) { public void applyExtraDataToDrops(EntityItem entityitem, NBTTagCompound data) {
entityitem.item.setNBTData(data); entityitem.item.setTagCompound(data);
} }
@Override @Override