aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/RiftMotesOrb.kt9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/RiftMotesOrb.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/RiftMotesOrb.kt
index 15273cdc4..38487a88c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/RiftMotesOrb.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/RiftMotesOrb.kt
@@ -80,16 +80,13 @@ class RiftMotesOrb {
orb.pickedUp = true
}
- val location = orb.location
-
+ val location = orb.location.add(0.0, 0.5, 0.0)
val sizeOffset = (5 - config.size) * -0.1
if (orb.pickedUp) {
- event.drawDynamicText(location.add(0.0, 0.5, 0.0), "§7Motes Orb", 1.5 + sizeOffset, ignoreBlocks =
- false)
+ event.drawDynamicText(location, "§7Motes Orb", 1.5 + sizeOffset, ignoreBlocks = false)
event.drawWaypointFilled(location, LorenzColor.GRAY.toColor(), extraSize = sizeOffset)
} else {
- event.drawDynamicText(location.add(0.0, 0.5, 0.0), "§dMotes Orb", 1.5 + sizeOffset, ignoreBlocks =
- false)
+ event.drawDynamicText(location, "§dMotes Orb", 1.5 + sizeOffset, ignoreBlocks = false)
event.drawWaypointFilled(location, LorenzColor.LIGHT_PURPLE.toColor(), extraSize = sizeOffset)
}
}