Fix render bounding box of trapped double chests

This commit is contained in:
James 2013-05-11 00:48:04 -07:00
parent e805d53089
commit 1a52514c9d
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
+ {
+ bb = AxisAlignedBB.getAABBPool().getAABB(xCoord, yCoord, zCoord, xCoord + 1, yCoord + 1, zCoord + 1);
+ }
+ else if (type == Block.chest)
+ else if (type == Block.chest || type == Block.chestTrapped)
+ {
+ bb = AxisAlignedBB.getAABBPool().getAABB(xCoord - 1, yCoord, zCoord - 1, xCoord + 2, yCoord + 2, zCoord + 2);
+ }