From 29dfcf213f1183ca382d8d7604a08e914e0918c2 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 15 May 2023 22:48:15 +0200 Subject: Fixed format in best crop time with disabled compact mode and removed empty line with enabled compact mode --- .../hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt | 5 ++--- 1 file 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) -- cgit