aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-21 14:20:46 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-21 14:20:46 +0100
commit5ec63533e3eab6f5a1f62038f387d49f613216da (patch)
tree57dbe418ba33366b817948ed2ad5340bf7eac619
parent8251b5a124d2bc567e3764964e5f451c4d4bd634 (diff)
downloadskyhanni-5ec63533e3eab6f5a1f62038f387d49f613216da.tar.gz
skyhanni-5ec63533e3eab6f5a1f62038f387d49f613216da.tar.bz2
skyhanni-5ec63533e3eab6f5a1f62038f387d49f613216da.zip
Queue full support
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt
index 6f39c3b63..3794e50d1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt
@@ -49,9 +49,11 @@ class GardenVisitorTimer {
"§f/§e" + TimeUtils.formatDuration(millis / factor)
} else ""
- val visitorLabel = if (visitorsAmount == 1) "visitor" else "visitors"
val formatDuration = TimeUtils.formatDuration(millis)
- val next = if (queueFull) "§cQueue Full!" else "Next in §e$formatDuration$extraSpeed"
+ val next = if (queueFull) "§cQueue Full!" else {
+ "Next in §e$formatDuration$extraSpeed"
+ }
+ val visitorLabel = if (visitorsAmount == 1) "visitor" else "visitors"
render = "§b$visitorsAmount $visitorLabel §f($next§f)"
}