mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
Fix Mechanical Pipe non-vanilla liquid rendering. Closes #186
This commit is contained in:
1 parent
1b039bce4b
commit
92c3cb6811
1 file changed
+3
-3
@@ -59,14 +59,14 @@ public class RenderMechanicalPipe extends TileEntitySpecialRenderer
|
||||
MekanismRenderer.glowOn();
|
||||
}
|
||||
|
||||
bindTextureByName(tileEntity.refLiquid.getTextureSheet());
|
||||
bindTextureByName(tileEntity.refLiquid.canonical().getTextureSheet());
|
||||
GL11.glTranslatef((float)x, (float)y, (float)z);
|
||||
|
||||
for(int i = 0; i < 6; i++)
|
||||
{
|
||||
if(connectable[i])
|
||||
{
|
||||
int[] displayList = getListAndRender(ForgeDirection.getOrientation(i), tileEntity.refLiquid);
|
||||
int[] displayList = getListAndRender(ForgeDirection.getOrientation(i), tileEntity.refLiquid.canonical());
|
||||
|
||||
if(displayList != null)
|
||||
{
|
||||
@@ -75,7 +75,7 @@ public class RenderMechanicalPipe extends TileEntitySpecialRenderer
|
||||
}
|
||||
}
|
||||
|
||||
int[] displayList = getListAndRender(ForgeDirection.UNKNOWN, tileEntity.refLiquid);
|
||||
int[] displayList = getListAndRender(ForgeDirection.UNKNOWN, tileEntity.refLiquid.canonical());
|
||||
|
||||
if(displayList != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user