Skip to content

Commit

Permalink
fix: local pos not displaying properly in debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraviolet-jordan committed May 30, 2024
1 parent 874a324 commit 3e96bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2139,7 +2139,7 @@ class Game extends Client {
y += 13;
this.fontPlain11?.drawStringRight(x, y, `Occluders: ${World3D.levelOccluderCount[World3D.topLevel]} Active: ${World3D.activeOccluderCount}`, Colors.YELLOW, true);
y += 13;
this.fontPlain11?.drawStringRight(x, y, 'Local Pos: ' + this.localPlayer?.x ?? -1 + ', ' + this.localPlayer?.z ?? -1 + ', ' + this.localPlayer?.y ?? -1, Colors.YELLOW, true);
this.fontPlain11?.drawStringRight(x, y, 'Local Pos: ' + (this.localPlayer?.x ?? -1) + ', ' + (this.localPlayer?.z ?? -1) + ', ' + (this.localPlayer?.y ?? -1), Colors.YELLOW, true);
y += 13;
this.fontPlain11?.drawStringRight(x, y, 'Camera Pos: ' + this.cameraX + ', ' + this.cameraZ + ', ' + this.cameraY, Colors.YELLOW, true);
y += 13;
Expand Down

0 comments on commit 3e96bde

Please sign in to comment.