aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-15 22:48:15 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-15 22:48:15 +0200
commit29dfcf213f1183ca382d8d7604a08e914e0918c2 (patch)
tree5172bc106d2f37e07104143e9fdf6fb014fd95bb /src/main/java/at/hannibal2/skyhanni
parent7b5a1ce7efe8177b2af79255eedd09c374aa2684 (diff)
downloadskyhanni-29dfcf213f1183ca382d8d7604a08e914e0918c2.tar.gz
skyhanni-29dfcf213f1183ca382d8d7604a08e914e0918c2.tar.bz2
skyhanni-29dfcf213f1183ca382d8d7604a08e914e0918c2.zip
Fixed format in best crop time with disabled compact mode and removed empty line with enabled compact mode
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt5
1 files changed, 2 insertions, 3 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 f016a57ae..c72983934 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,9 +108,8 @@ class GardenBestCropTime {
val cropName = if (!config.cropMilestoneBestCompact) crop.cropName + " " else ""
- val tier = if (!config.cropMilestoneBestCompact) "currentTier->$nextTier" else ""
- val cropNameDisplay = "$color$contestFormat$cropName$tier§r"
- list.add("$cropNameDisplay §b$duration")
+ val tier = if (!config.cropMilestoneBestCompact) "$currentTier->$nextTier " else ""
+ list.add("$color$contestFormat$cropName$tier§b$duration")
if (gardenExp && !config.cropMilestoneBestCompact) {
val gardenExpForTier = getGardenExpForTier(nextTier)