From b8db01c32f2936728dde3a6f68711e9e0fce5bed Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 1 Dec 2023 02:14:04 +0100 Subject: utilizing location.add(x = x) --- .../at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc') diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt index 39c4979da..8b3460c25 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt @@ -223,7 +223,7 @@ object TrevorFeatures { { config.trapperTalkCooldown } entityTrapper.getLorenzVec().let { if (it.distanceToPlayer() < 15) { - event.drawString(it.add(0.0, 2.23, 0.0), currentLabel) + event.drawString(it.add(y = 2.23), currentLabel) } } } @@ -239,11 +239,11 @@ object TrevorFeatures { TrevorSolver.currentMob!!.mobName } location = TrevorSolver.mobCoordinates - event.drawWaypointFilled(location.add(0, -2, 0), LorenzColor.GREEN.toColor(), true, true) - event.drawDynamicText(location.add(0, 1, 0), displayName, 1.5) + event.drawWaypointFilled(location.add(y = -2), LorenzColor.GREEN.toColor(), true, true) + event.drawDynamicText(location.add(y = 1), displayName, 1.5) } else { event.drawWaypointFilled(location, LorenzColor.GOLD.toColor(), true, true) - event.drawDynamicText(location.add(0, 1, 0), TrevorSolver.mobLocation.location, 1.5) + event.drawDynamicText(location.add(y = 1), TrevorSolver.mobLocation.location, 1.5) } } } -- cgit