Fixed mech piston render rotation issue
This commit is contained in:
parent
e0185f5ab5
commit
2a29830a93
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public class RenderMechanicalPiston extends TileEntitySpecialRenderer
|
|||
|
||||
if (tile.getWorldObj() != null)
|
||||
{
|
||||
if (tile.getDirection() != ForgeDirection.UP && tile.getDirection() != ForgeDirection.DOWN)
|
||||
if (tile.getDirection() == ForgeDirection.NORTH || tile.getDirection() == ForgeDirection.SOUTH)
|
||||
RenderUtility.rotateBlockBasedOnDirection(tile.getDirection().getOpposite());
|
||||
else
|
||||
RenderUtility.rotateBlockBasedOnDirection(tile.getDirection());
|
||||
|
|
Loading…
Reference in a new issue