Fixed fluid rendering on players head

This commit is contained in:
DarkGuardsman 2014-01-15 10:31:34 -05:00
parent 0293e7b015
commit ec0c06dc48

View file

@ -69,7 +69,7 @@ public class RenderPipe extends TileEntitySpecialRenderer
for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS)
{
if (tile.canRenderSide(direction))
if (tile.canRenderSide(direction) && direction != ForgeDirection.UP && direction != ForgeDirection.DOWN)
{
GL11.glPushMatrix();
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);