Merge pull request #464 from nevercast/issue-280

Make RenderTank respect Block Metadata
This commit is contained in:
SirSengir 2012-12-01 02:57:11 -08:00
commit 475719d2f3

View file

@ -49,7 +49,7 @@ public class RenderTank extends TileEntitySpecialRenderer {
BlockInterface block = new BlockInterface();
if (liquidId < Block.blocksList.length && Block.blocksList[liquidId] != null)
block.texture = Block.blocksList[liquidId].blockIndexInTexture;
block.texture = Block.blocksList[liquidId].getBlockTextureFromSideAndMetadata(0, damage);
else if(Item.itemsList[liquidId] != null)
block.texture = Item.itemsList[liquidId].getIconFromDamage(damage);
else