Set block based on isolated state before rendering. Tentatively fixes #35

This commit is contained in:
Justin Aquadro committed 2014-10-22 01:19:23 -04:00
1 parent 0498de0d04
commit 3eaf0c009c
1 file changed
+1
@@ -276,6 +276,7 @@ public class TileEntityDrawersRenderer extends TileEntitySpecialRenderer
if (blockType) {
Block itemBlock = Block.getBlockFromItem(itemStack.getItem());
itemBlock.setBlockBoundsBasedOnState(tile.getWorldObj(), 0, 0, 0);
itemBlock.setBlockBoundsForItemRender();
double zDepth = 1 - itemBlock.getBlockBoundsMaxZ();