Merge pull request #464 from nevercast/issue-280
Make RenderTank respect Block Metadata
This commit is contained in:
commit
475719d2f3
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class RenderTank extends TileEntitySpecialRenderer {
|
||||||
|
|
||||||
BlockInterface block = new BlockInterface();
|
BlockInterface block = new BlockInterface();
|
||||||
if (liquidId < Block.blocksList.length && Block.blocksList[liquidId] != null)
|
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)
|
else if(Item.itemsList[liquidId] != null)
|
||||||
block.texture = Item.itemsList[liquidId].getIconFromDamage(damage);
|
block.texture = Item.itemsList[liquidId].getIconFromDamage(damage);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue