aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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