aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt
index 949c00204..976994070 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt
@@ -52,13 +52,13 @@ class GardenBestCropTime {
val color = if (isCurrent) "§e" else "§7"
val contestFormat = if (GardenNextJacobContest.isNextCrop(crop)) "§n" else ""
- val cropNameDisplay = "$color$contestFormat${crop.cropName}§r"
+ val crops = GardenCropMilestones.cropCounter[crop]!!
+ val nextTier = GardenCropMilestones.getTierForCrops(crops) + 1
+ val cropNameDisplay = "$color$contestFormat${crop.cropName} $nextTier§r"
list.add("$cropNameDisplay §b$duration")
if (gardenExp) {
- val crops = GardenCropMilestones.cropCounter[crop]!!
- val currentTier = GardenCropMilestones.getTierForCrops(crops)
- val gardenExpForTier = getGardenExpForTier(currentTier + 1)
+ val gardenExpForTier = getGardenExpForTier(nextTier)
list.add(" §7(§2$gardenExpForTier §7Exp)")
}
display.add(list)