Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroMemes committed Jun 15, 2023
1 parent 04b09fb commit 26a2945
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/main/java/baritone/utils/PathRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,6 @@ public static void render(RenderEvent event, PathingBehavior behavior) {
return;
}

// TODO: This is goofy 💀 (pr/deprecateHelperMc)
// renderView isn't even needed for drawGoal since it's only used to
// calculate GoalYLevel x/z bounds, and ends up just cancelling itself
// out because of viewerPosX/Y/Z. I just changed it to center around the
// actual player so the goal box doesn't follow the camera in freecam.
// Entity renderView = Helper.mc.getRenderViewEntity();
// if (renderView.world != BaritoneAPI.getProvider().getPrimaryBaritone().getPlayerContext().world()) {
// System.out.println("I have no idea what's going on");
// System.out.println("The primary baritone is in a different world than the render view entity");
// System.out.println("Not rendering the path");
// return;
// }

if (goal != null && settings.renderGoal.value) {
drawGoal(ctx.player(), goal, partialTicks, settings.colorGoalBox.value);
}
Expand Down

0 comments on commit 26a2945

Please sign in to comment.