From db37c2fc6ca35809f0f97cfa25699ec91e0d29f1 Mon Sep 17 00:00:00 2001 From: NeverCast Date: Sat, 1 Dec 2012 10:25:46 +1300 Subject: [PATCH] Make RenderTank accept Block Metadata --- common/buildcraft/factory/render/RenderTank.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/factory/render/RenderTank.java b/common/buildcraft/factory/render/RenderTank.java index 8adf17d9..b06eb4e6 100644 --- a/common/buildcraft/factory/render/RenderTank.java +++ b/common/buildcraft/factory/render/RenderTank.java @@ -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