Skip to content

Commit

Permalink
Removed debug code which printed a message twice every frame
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewathalye committed Sep 26, 2020
1 parent de375fc commit c4bb424
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public void renderAfterInject(CallbackInfo ci) {
//Inject after Camera.update in renderWorld
@Inject(at=@At(value="INVOKE", target="Lnet/minecraft/client/render/Camera;update(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;ZZF)V", shift=At.Shift.AFTER), method="renderWorld(FJLnet/minecraft/client/util/math/MatrixStack;)V", locals=LocalCapture.CAPTURE_FAILHARD)
public void renderWorldInject(float tickDelta, long limitTime, MatrixStack matrix, CallbackInfo ci, boolean bl, Camera camera, MatrixStack matrixStack, Matrix4f matrix4f) {
System.out.println("Injection point in renderWorld reached.");
float angle=camera.getYaw();
angle-=360*((int)(angle/360));
if(angle>0)
Expand Down

0 comments on commit c4bb424

Please sign in to comment.