Make RenderTank accept Block Metadata
This commit is contained in:
parent
dd279689a8
commit
db37c2fc6c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue