diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-23 17:20:33 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-23 17:20:33 +0200 |
commit | e4821befd023da38f8a054773e38b3f9a6f28210 (patch) | |
tree | 5ad0cc4f1783823e62e48165c40161e49a7d0c07 /src/main/java/at/hannibal2/skyhanni/features/garden | |
parent | 9a3620ea19f08104cc97560bb16feb2092b85847 (diff) | |
download | skyhanni-e4821befd023da38f8a054773e38b3f9a6f28210.tar.gz skyhanni-e4821befd023da38f8a054773e38b3f9a6f28210.tar.bz2 skyhanni-e4821befd023da38f8a054773e38b3f9a6f28210.zip |
replacing round to roundTo in LorenzVec
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleWaypoint.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleWaypoint.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleWaypoint.kt index 23ead6f91..d07e55816 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleWaypoint.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleWaypoint.kt @@ -86,7 +86,7 @@ object PestParticleWaypoint { val yellow = LorenzVec(0.8, 0.8, 0.0) val redPest = LorenzVec(0.8, 0.4, 0.0) val redPlot = LorenzVec(0.8, 0.0, 0.0) - isPointingToPest = when (event.offset.round(5)) { + isPointingToPest = when (event.offset.roundTo(5)) { redPlot -> false redPest, yellow, darkYellow -> true else -> return @@ -150,7 +150,7 @@ object PestParticleWaypoint { waypoint, color, 3, - false + false, ) } |