From cd5366c3178eead1417722c2cb52dbfdd3887dd3 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 15 May 2023 16:18:45 +0200 Subject: Best crop time compact mode hides the tier number --- .../hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java') 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) { -- cgit