Merge pull request #564 from purpleposeidon/patch-1

Fix render bounding box of trapped double chests
This commit is contained in:
LexManos 2013-05-11 09:59:07 -07:00
commit 348af15cb5

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);
+ }