aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt
index 187b66249..a446dca17 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowHelper.kt
@@ -132,8 +132,10 @@ class GriffinBurrowHelper {
val guessLocation = findBlock(it)
val distance = guessLocation.distance(playerLocation)
event.drawColor(guessLocation, LorenzColor.WHITE, distance > 10)
- if (distance < 10) {
- event.drawString(guessLocation.add(0.5, 1.5, 0.5), "§fSoopy Guess", true)
+ event.drawDynamicText(guessLocation, "Guess", 1.5)
+ if (distance > 5) {
+ val formattedDistance = LorenzUtils.formatDouble(distance)
+ event.drawDynamicText(guessLocation, "§e${formattedDistance}m", 1.3, yOff = 12f)
}
}
}