Permalink
Browse files

Fixed the large cryotube renderer.

  • Loading branch information...
Ri5ux committed Sep 24, 2018
1 parent 481fddd commit 51e809e27fc605be0f34f81e0fff4d683f250d5d
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/java/org/avp/client/render/transforms/CryostasisTubeRenderers.java
@@ -120,15 +120,17 @@ public void renderEntity(RenderCryostasisTube renderer, TileEntityCryostasisTube
if (tile.getVoltage() > 0)
OpenGL.disableLight();
OpenGL.scale(0.25, 0.25, 0.25);
OpenGL.translate(0F, -2.75F, depth);
OpenGL.translate(0F, 2F, 0F);
OpenGL.rotate(90F, 1F, 0F, 0F);
Game.renderManager().renderEntity(tile.stasisEntity, 0, 0, 0, 0F, Game.partialTicks(), false);
}
else if (tile.stasisEntity instanceof EntityMatriarch)
{
OpenGL.disableLight();
OpenGL.scale(0.25, 0.25, 0.25);
OpenGL.scale(0.05, 0.05, 0.05);
OpenGL.translate(-3.25, -16, 0);
Draw.drawString("\u26A0", 0, 0, 0xFFFF0000, false);
OpenGL.enableLight();
@@ -160,8 +162,6 @@ else if (tile.isCracked())
}
OpenGL.disableCullFace();
OpenGL.scale(4, 3, 4);
OpenGL.translate(0F, -0.75F, 0F);
mask.draw();
OpenGL.scale(0.5, 0.5, 0.5);
OpenGL.enableLightMapping();

0 comments on commit 51e809e

Please sign in to comment.