aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-17 19:49:03 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-17 19:49:03 +0100
commitba239d616071f0ffb973c881a1fbc3832c86e054 (patch)
tree9bf79c21a7a5bcf6712025f2e5ab9df43b22c6e7
parent03b8008e7494914e9eb12c65edecea7566d6e099 (diff)
downloadskyhanni-ba239d616071f0ffb973c881a1fbc3832c86e054.tar.gz
skyhanni-ba239d616071f0ffb973c881a1fbc3832c86e054.tar.bz2
skyhanni-ba239d616071f0ffb973c881a1fbc3832c86e054.zip
Show not revealed brackets in the jacob contest time needed display.
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt
index 3ce6178ad..755097d90 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt
@@ -120,7 +120,9 @@ class JacobContestTimeNeeded {
for (bracket in ContestBracket.entries) {
val amount = averages[bracket]
if (amount == null) {
- brackets.add("${bracket.displayName} §cNo contest data found!")
+ sorted[crop] = Double.MAX_VALUE - 1
+ brackets.add("${bracket.displayName} §cBracket not revealed!")
+ showLine = "§9${crop.cropName} §cBracket not revealed!"
continue
}
val timeInMinutes = amount.toDouble() / speedForFormular / 60