From 8fc05c399ad7a5fa0fe9cad9064f3297c1f9d47f Mon Sep 17 00:00:00 2001 From: LexManos Date: Fri, 24 Aug 2012 14:06:02 -0700 Subject: [PATCH] Fix call to createTileEntity on blocks that extend BlockContainer. --- patches/common/net/minecraft/src/BlockContainer.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/common/net/minecraft/src/BlockContainer.java.patch b/patches/common/net/minecraft/src/BlockContainer.java.patch index 8a9c656d3..8f5083789 100644 --- a/patches/common/net/minecraft/src/BlockContainer.java.patch +++ b/patches/common/net/minecraft/src/BlockContainer.java.patch @@ -5,7 +5,7 @@ { super.onBlockAdded(par1World, par2, par3, par4); - par1World.setBlockTileEntity(par2, par3, par4, this.createNewTileEntity(par1World)); -+ par1World.setBlockTileEntity(par2, par3, par4, this.createNewTileEntity(par1World, par1World.getBlockMetadata(par2, par3, par4))); ++ par1World.setBlockTileEntity(par2, par3, par4, this.createTileEntity(par1World, par1World.getBlockMetadata(par2, par3, par4))); } /**