aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-07-05 22:34:11 +1000
committerGitHub <noreply@github.com>2023-07-05 14:34:11 +0200
commit31302956bdac05fc74b361e4e1f95ad25b3e414b (patch)
tree010faa51748774096331bbf3bcfa3adbf03c1c79
parentc04b2a1edbbf82a56ae667298f72074847c879a3 (diff)
downloadskyhanni-31302956bdac05fc74b361e4e1f95ad25b3e414b.tar.gz
skyhanni-31302956bdac05fc74b361e4e1f95ad25b3e414b.tar.bz2
skyhanni-31302956bdac05fc74b361e4e1f95ad25b3e414b.zip
fix (#298)
-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\"")
}