Fix call to createTileEntity on blocks that extend BlockContainer.
This commit is contained in:
parent
0ae277b13e
commit
8fc05c399a
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue