Skip to content

Commit a380fd6

Browse files
committed
add console logs
1 parent 32f479d commit a380fd6

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/main/js/journeymap.js

+12-3
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,18 @@ class Journeymap {
224224
}
225225

226226
const reverseHellTranslate = ((this.currentDim !== "minecraft:the_nether") && (waypoint.pos.primaryDimension === "minecraft:the_nether"))
227-
228-
const posX = waypoint.pos.x;
229-
const posZ = waypoint.pos.z;
227+
console.log(reverseHellTranslate
228+
+ " : " +
229+
(this.currentDim !== "minecraft:the_nether")
230+
+ " : " +
231+
(waypoint.pos.primaryDimension === "minecraft:the_nether")
232+
+ " : " +
233+
this.currentDim
234+
+ " : " +
235+
waypoint.pos.primaryDimension)
236+
237+
const posX = waypoint.pos.x
238+
const posZ = waypoint.pos.z
230239

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

0 commit comments

Comments
 (0)