aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/WaypointSaver.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/WaypointSaver.kt b/src/main/java/at/hannibal2/skyhanni/test/WaypointSaver.kt
index 670129e27..cc3ae7e9f 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/WaypointSaver.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/WaypointSaver.kt
@@ -47,8 +47,8 @@ class WaypointSaver {
val resultList = mutableListOf<String>()
timeLastSaved = System.currentTimeMillis()
for (location in this) {
- val x = location.z.toString().replace(",", ".")
- val y = location.z.toString().replace(",", ".")
+ val x = location.x.toString().replace(",", ".")
+ val y = location.y.toString().replace(",", ".")
val z = location.z.toString().replace(",", ".")
resultList.add("\"$x:$y:$z\"")
}