Make RenderTank accept Block Metadata

This commit is contained in:
NeverCast 2012-12-01 10:25:46 +13:00
parent dd279689a8
commit db37c2fc6c

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