diff --git a/common/buildcraft/factory/render/RenderRefinery.java b/common/buildcraft/factory/render/RenderRefinery.java index 392e6f5a..459d428b 100644 --- a/common/buildcraft/factory/render/RenderRefinery.java +++ b/common/buildcraft/factory/render/RenderRefinery.java @@ -83,7 +83,7 @@ public class RenderRefinery extends TileEntitySpecialRenderer implements IInvent // Retrieve the texture depending on type of item. 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); diff --git a/common/buildcraft/transport/render/RenderPipe.java b/common/buildcraft/transport/render/RenderPipe.java index 39f0f7d1..7629b020 100644 --- a/common/buildcraft/transport/render/RenderPipe.java +++ b/common/buildcraft/transport/render/RenderPipe.java @@ -98,7 +98,7 @@ public class RenderPipe 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, meta); else block.texture = Item.itemsList[liquidId].getIconFromDamage(meta);