diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-15 16:18:45 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-15 16:18:45 +0200 |
commit | cd5366c3178eead1417722c2cb52dbfdd3887dd3 (patch) | |
tree | d293e31102a58a73fe5fc4dd8c3ed04900656c38 /src/main/java/at/hannibal2/skyhanni/features | |
parent | b6414ba8cfc5cb15a0558117618bbe868330adf7 (diff) | |
download | skyhanni-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.kt | 3 |
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) { |