aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-15 16:18:45 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-15 16:18:45 +0200
commitcd5366c3178eead1417722c2cb52dbfdd3887dd3 (patch)
treed293e31102a58a73fe5fc4dd8c3ed04900656c38 /src/main/java/at/hannibal2/skyhanni/features
parentb6414ba8cfc5cb15a0558117618bbe868330adf7 (diff)
downloadskyhanni-cd5366c3178eead1417722c2cb52dbfdd3887dd3.tar.gz
skyhanni-cd5366c3178eead1417722c2cb52dbfdd3887dd3.tar.bz2
skyhanni-cd5366c3178eead1417722c2cb52dbfdd3887dd3.zip
Best crop time compact mode hides the tier number
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt
index 19bd4936f..f016a57ae 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt
@@ -108,7 +108,8 @@ class GardenBestCropTime {
val cropName = if (!config.cropMilestoneBestCompact) crop.cropName + " " else ""
- val cropNameDisplay = "$color$contestFormat$cropName$currentTier->$nextTier§r"
+ val tier = if (!config.cropMilestoneBestCompact) "currentTier->$nextTier" else ""
+ val cropNameDisplay = "$color$contestFormat$cropName$tier§r"
list.add("$cropNameDisplay §b$duration")
if (gardenExp && !config.cropMilestoneBestCompact) {