Fix Mechanical Pipe non-vanilla liquid rendering. Closes #186
This commit is contained in:
parent
1b039bce4b
commit
92c3cb6811
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue