summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-01 02:14:04 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-01 02:14:04 +0100
commitb8db01c32f2936728dde3a6f68711e9e0fce5bed (patch)
treefbaf917b5713234967f3b518ab445e6558c079db /src/main/java/at/hannibal2/skyhanni/features/misc
parentaef7ba127c67950a685fead8a79c3daf7fa23e4b (diff)
downloadskyhanni-b8db01c32f2936728dde3a6f68711e9e0fce5bed.tar.gz
skyhanni-b8db01c32f2936728dde3a6f68711e9e0fce5bed.tar.bz2
skyhanni-b8db01c32f2936728dde3a6f68711e9e0fce5bed.zip
utilizing location.add(x = x)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt8
1 files changed, 4 insertions, 4 deletions
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)
}
}
}