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/combat | |
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/combat')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/combat/mobs/ArachneSpawnTimer.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/combat/mobs/ArachneSpawnTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/combat/mobs/ArachneSpawnTimer.kt index 2fee0577e..d2e6f7ed6 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/combat/mobs/ArachneSpawnTimer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/combat/mobs/ArachneSpawnTimer.kt @@ -99,7 +99,7 @@ object ArachneSpawnTimer { val packet = event.packet if (packet is S2APacketParticles) { - val location = packet.toLorenzVec().round(2) + val location = packet.toLorenzVec().roundTo(2) if (arachneAltarLocation.distance(location) > 30) return if (packet.particleType == EnumParticleTypes.REDSTONE && packet.particleSpeed == 1.0f) { particleCounter += 1 |