Fixed some render craps

This commit is contained in:
Brian Ricketts 2013-02-12 00:47:28 -06:00
parent b1d5ea505c
commit ccaca0c92f
2 changed files with 2 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View file

@ -38,6 +38,8 @@ public class RenderCraneRail extends RenderImprintable
// NORTH, Z+
boolean renderBack = CraneHelper.canFrameConnectTo(tileEntity, tX, tY, tZ + 1, ForgeDirection.NORTH);
boolean renderFoot = tileEntity.worldObj.isBlockSolidOnSide(tX, tY - 1, tZ, ForgeDirection.UP);
if ((renderLeft && renderRight) || (renderFront && renderBack))
renderFoot = false;
this.bindTextureByName(AssemblyLine.TEXTURE_PATH + TEXTURE);
glPushMatrix();
glTranslated(x + 0.5, y + 1.5, z + 0.5);