mirror of https://github.com/kami-blue/client
fixed tracers+trajectories render bug
This commit is contained in:
parent
371ba59a9b
commit
17caccf3c3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue