Fix TESR rendering for double chests
This commit is contained in:
parent
c5bb9fc78f
commit
7e5a9076f0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in a new issue