diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-02 16:00:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 16:00:38 +0200 |
commit | 50d16a4f7c29a206d67ff0bdb0e0a94db824357f (patch) | |
tree | addb048330840f058a67f5c5e233f52aef5e6c9e /src/main/java/at/hannibal2/skyhanni/features | |
parent | b85f0f71e62daf79f6de70875581135a2dab40ad (diff) | |
download | skyhanni-50d16a4f7c29a206d67ff0bdb0e0a94db824357f.tar.gz skyhanni-50d16a4f7c29a206d67ff0bdb0e0a94db824357f.tar.bz2 skyhanni-50d16a4f7c29a206d67ff0bdb0e0a94db824357f.zip |
Fix: Effigies (#1649)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/RiftBloodEffigies.kt | 5 |
1 files changed, 3 insertions, 2 deletions
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 } |