aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorDavid Cole <40234707+DavidArthurCole@users.noreply.github.com>2024-09-28 15:23:23 -0400
committerGitHub <noreply@github.com>2024-09-28 21:23:23 +0200
commit2178deb82a1cc3305113db1fbeee939cd7272d2e (patch)
treeb711c96d4af599588f3bd32b5d4229f8c24251b2 /src/main/java/at/hannibal2/skyhanni/data
parent633b8f0bdd9b05f553b1bc521a83b4b7de238125 (diff)
downloadskyhanni-2178deb82a1cc3305113db1fbeee939cd7272d2e.tar.gz
skyhanni-2178deb82a1cc3305113db1fbeee939cd7272d2e.tar.bz2
skyhanni-2178deb82a1cc3305113db1fbeee939cd7272d2e.zip
Backend: Detekt Fixes Part 3 (#2606)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt b/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt
index 9b7ba2cfd..a763961f8 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt
@@ -302,13 +302,13 @@ object MobDetection {
val entity = retry.entity
if (retry.times == MAX_RETRIES) {
MobData.logger.log(
- "`${retry.entity.name}`${retry.entity.entityId} missed {\n "
- + "is already Found: ${MobData.entityToMob[retry.entity] != null})."
- + "\n Position: ${retry.entity.getLorenzVec()}\n "
- + "DistanceC: ${
- entity.getLorenzVec().distanceChebyshevIgnoreY(LocationUtils.playerLocation())
- }\n"
- + "Relative Position: ${entity.getLorenzVec() - LocationUtils.playerLocation()}\n " +
+ "`${retry.entity.name}`${retry.entity.entityId} missed {\n " +
+ "is already Found: ${MobData.entityToMob[retry.entity] != null})." +
+ "\n Position: ${retry.entity.getLorenzVec()}\n " +
+ "DistanceC: ${
+ entity.getLorenzVec().distanceChebyshevIgnoreY(LocationUtils.playerLocation())
+ }\n" +
+ "Relative Position: ${entity.getLorenzVec() - LocationUtils.playerLocation()}\n " +
"}",
)
// Uncomment this to make it closed a loop