Fixed some render craps
This commit is contained in:
parent
b1d5ea505c
commit
ccaca0c92f
2 changed files with 2 additions and 0 deletions
BIN
resources/assemblyline/textures/quarryControllerOn.png
Normal file
BIN
resources/assemblyline/textures/quarryControllerOn.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue