Fixed the render issue better
This commit is contained in:
parent
24e4f1f853
commit
3cfa7d33fe
1 changed files with 4 additions and 4 deletions
|
@ -363,9 +363,9 @@ public class ModelLiquidTank extends ModelBase
|
|||
conenctedTiles = ((TileEntityTank) tee).connectedBlocks;
|
||||
}
|
||||
// Front
|
||||
if (conenctedTiles[2] instanceof TileEntityPipe)
|
||||
if (conenctedTiles[3] instanceof TileEntityPipe)
|
||||
{
|
||||
CCBack.render(f5);
|
||||
CCFront.render(f5);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -377,9 +377,9 @@ public class ModelLiquidTank extends ModelBase
|
|||
GuageL.render(f5);
|
||||
}
|
||||
// back
|
||||
if (conenctedTiles[3] instanceof TileEntityPipe)
|
||||
if (conenctedTiles[2] instanceof TileEntityPipe)
|
||||
{
|
||||
CCFront.render(f5);
|
||||
CCBack.render(f5);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue