Permalink
Browse files

Plasma cannon lighting not adjusting dynamically.

  • Loading branch information...
Ri5ux committed Sep 28, 2018
1 parent 81e66e2 commit e0a18b5ca0a50c4c7009a8b87f7244fa69e219dd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/avp/client/render/RenderPlayerPlasmaCannon.java
@@ -151,7 +151,7 @@ public void renderFirstPerson(Event event, float partialTicks)
OpenGL.rotate(rotationPitch, 1.0F, 0.0F, 0.0F);
OpenGL.rotate(entity.prevRotationYaw + (entity.rotationYaw - entity.prevRotationYaw) * partialTicks, 0.0F, 1.0F, 0.0F);
OpenGL.enableStandardItemLighting();
OpenGL.enableLightMapping();
// OpenGL.enableLightMapping();
OpenGL.popMatrix();
EntityPlayerSP entityplayersp = (EntityPlayerSP) entity;
float armPitch = entityplayersp.prevRenderArmPitch + (entityplayersp.renderArmPitch - entityplayersp.prevRenderArmPitch) * partialTicks;

0 comments on commit e0a18b5

Please sign in to comment.