Skip to content

Commit

Permalink
add console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticdrew committed Jun 21, 2024
1 parent 32f479d commit a380fd6
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/main/js/journeymap.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,18 @@ class Journeymap {
}

const reverseHellTranslate = ((this.currentDim !== "minecraft:the_nether") && (waypoint.pos.primaryDimension === "minecraft:the_nether"))

const posX = waypoint.pos.x;
const posZ = waypoint.pos.z;
console.log(reverseHellTranslate
+ " : " +
(this.currentDim !== "minecraft:the_nether")
+ " : " +
(waypoint.pos.primaryDimension === "minecraft:the_nether")
+ " : " +
this.currentDim
+ " : " +
waypoint.pos.primaryDimension)

const posX = waypoint.pos.x
const posZ = waypoint.pos.z

const coords = reverseTranslateCoords(posX + 0.5, posZ + 0.5, reverseHellTranslate)

Expand Down

0 comments on commit a380fd6

Please sign in to comment.