From 0ddd9edc94bc0c872109acd0b845163b073ceb6a Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sun, 26 May 2024 22:26:24 +1000 Subject: Backend: Use less deprecated LorenzVec functions (#1556) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/data') 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 6497fddfb..a521e2354 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt @@ -270,7 +270,7 @@ class MobDetection { + "DistanceC: ${ entity.getLorenzVec().distanceChebyshevIgnoreY(LocationUtils.playerLocation()) }\n" - + "Relative Position: ${entity.getLorenzVec().subtract(LocationUtils.playerLocation())}\n " + + + "Relative Position: ${entity.getLorenzVec() - LocationUtils.playerLocation()}\n " + "}" ) // Uncomment this to make it closed a loop -- cgit