diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-10-11 19:01:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-11 19:01:42 +0200 |
commit | 9a2286ac3070e1ba0023445dc8243e618989e86e (patch) | |
tree | 6c4ad95a8df2ce6fff17e5ea96f8df09c4e5ea07 /src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt | |
parent | 8c54be95700b224c2f93b549465dbe06bf3bbe86 (diff) | |
download | skyhanni-9a2286ac3070e1ba0023445dc8243e618989e86e.tar.gz skyhanni-9a2286ac3070e1ba0023445dc8243e618989e86e.tar.bz2 skyhanni-9a2286ac3070e1ba0023445dc8243e618989e86e.zip |
Backend: LorenzVec up/down and drawLineToEye (#2056)
Co-authored-by: ItsEmpa <itsempa@users.noreply.github.com>
Co-authored-by: Cal <cwolfson58@gmail.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt b/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt index 4fccbed68..f6d52b7fc 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt @@ -122,7 +122,7 @@ class ParkourHelper( if (outline) event.outlineTopFace(aabb, 2, Color.BLACK, depth) } if (SkyHanniMod.feature.dev.waypoint.showPlatformNumber && !isMovingPlatform) { - event.drawString(location.offsetCenter().add(y = 1), "§a§l$index", seeThroughBlocks = true) + event.drawString(location.offsetCenter().up(1), "§a§l$index", seeThroughBlocks = true) } } } catch (e: Throwable) { |