diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-29 16:53:07 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-29 16:53:07 +0200 |
commit | e10493b7318931938f03ec56f106cf5e27225fa5 (patch) | |
tree | 75258619158f217924933778e89759f97938f13d /src/main/java/at/hannibal2/skyhanni/test | |
parent | e2813fd6cbe043ad61aeb31e532413dd0aaab1bd (diff) | |
parent | 2a3652012a46bcad4ad0cc896a5a8f290e6f62c3 (diff) | |
download | skyhanni-e10493b7318931938f03ec56f106cf5e27225fa5.tar.gz skyhanni-e10493b7318931938f03ec56f106cf5e27225fa5.tar.bz2 skyhanni-e10493b7318931938f03ec56f106cf5e27225fa5.zip |
Merge remote-tracking branch 'origin/beta' into beta
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt b/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt index 2fb009914..e2fc562f3 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt @@ -36,7 +36,7 @@ class ParkourWaypointSaver { update() } if (config.saveKey == key) { - val newLocation = LocationUtils.playerLocation().roundLocation() + val newLocation = LorenzVec.getBlockBelowPlayer() if (locations.isNotEmpty()) { if (newLocation == locations.last()) return } @@ -69,7 +69,7 @@ class ParkourWaypointSaver { fun onRenderWorld(event: RenderWorldLastEvent) { if (!LorenzUtils.inSkyBlock) return - if (locations.size > 2) { + if (locations.size > 1) { parkourHelper?.render(event) } else { for (location in locations) { |