aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-26 18:37:21 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-26 18:37:21 +0200
commit49c6158fd11eba3eaa9f69568ea26b5460198025 (patch)
tree6c0a1544cf385e51bd3f5ec737b99876b59748f4 /src/main/java/at/hannibal2
parenta2c94dc799bbcfc20c94c03890f94024c0c3246b (diff)
downloadskyhanni-49c6158fd11eba3eaa9f69568ea26b5460198025.tar.gz
skyhanni-49c6158fd11eba3eaa9f69568ea26b5460198025.tar.bz2
skyhanni-49c6158fd11eba3eaa9f69568ea26b5460198025.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/RiftMotesOrb.kt9
2 files changed, 4 insertions, 7 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java
index 8f732c078..9021ec9be 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/RiftConfig.java
@@ -696,7 +696,7 @@ public class RiftConfig {
@Expose
@ConfigOption(name = "Highlight Size", desc = "Set render size for highlighted Motes Orbs.")
@ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 5)
- public int size = 5;
+ public int size = 3;
@Expose
@ConfigOption(name = "Hide Particles", desc = "Hide normal Motes Orbs particles.")
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)
}
}