Fix TESR rendering for double chests

This commit is contained in:
Christian 2013-02-04 11:19:39 -05:00
parent c5bb9fc78f
commit 7e5a9076f0

View file

@ -84,7 +84,7 @@
+ @SideOnly(Side.CLIENT) + @SideOnly(Side.CLIENT)
+ public AxisAlignedBB getRenderBoundingBox() + public AxisAlignedBB getRenderBoundingBox()
+ { + {
+ if (getBlockType()!=null) + if (getBlockType()!=null && getBlockType() != Block.chest)
+ { + {
+ return getBlockType().getCollisionBoundingBoxFromPool(worldObj, xCoord, yCoord, zCoord); + return getBlockType().getCollisionBoundingBoxFromPool(worldObj, xCoord, yCoord, zCoord);
+ } + }