diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-15 22:48:15 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-15 22:48:15 +0200 |
commit | 29dfcf213f1183ca382d8d7604a08e914e0918c2 (patch) | |
tree | 5172bc106d2f37e07104143e9fdf6fb014fd95bb /src/main/java/at/hannibal2 | |
parent | 7b5a1ce7efe8177b2af79255eedd09c374aa2684 (diff) | |
download | skyhanni-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')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt | 5 |
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) |