fixed tracers+trajectories render bug

This commit is contained in:
Ridan Vandenbergh 2018-08-08 21:35:08 +02:00
parent 371ba59a9b
commit 17caccf3c3
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@ public class Trajectories extends Module {
BlockPos hit = null;
if (flightPath.getCollidingTarget() != null) hit = flightPath.getCollidingTarget().getBlockPos();
GL11.glEnable(GL11.GL_BLEND);
GL11.glDisable(GL11.GL_TEXTURE_2D);
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glDisable(GL11.GL_DEPTH_TEST);
if (hit != null){
KamiTessellator.prepare(GL11.GL_QUADS);
GL11.glColor4f(1,1,1,.3f);