aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/rift/area/stillgorechateau/EffigiesConfig.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/RiftBloodEffigies.kt5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/stillgorechateau/EffigiesConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/stillgorechateau/EffigiesConfig.java
index 61c4d92c7..56fa6e686 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/stillgorechateau/EffigiesConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/area/stillgorechateau/EffigiesConfig.java
@@ -21,7 +21,7 @@ public class EffigiesConfig {
public boolean respawningSoon = false;
@Expose
- @ConfigOption(name = "Respawning Time", desc = "Time before effigies respawn to show.")
+ @ConfigOption(name = "Respawning Time", desc = "Time in minutes before effigies respawn to show.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 15,
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/RiftBloodEffigies.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/RiftBloodEffigies.kt
index b31c7fb40..844fca7fc 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/RiftBloodEffigies.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/RiftBloodEffigies.kt
@@ -144,9 +144,10 @@ object RiftBloodEffigies {
continue
}
- if (config.respawningSoon && duration.passedSince() < config.respwningSoonTime.minutes) {
+ val timeUntil = duration.timeUntil()
+ if (config.respawningSoon && timeUntil <= config.respwningSoonTime.minutes) {
event.drawWaypointFilled(location, LorenzColor.YELLOW.toColor(), seeThroughBlocks = true)
- val time = duration.timeUntil()
+ val time = timeUntil.format()
event.drawDynamicText(location, "§e$name is respawning §b$time", 1.5)
continue
}