aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Garden.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
index 519ff3df5..affdf9375 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
@@ -281,7 +281,7 @@ public class Garden {
@Expose
@ConfigOption(
name = "Compact Display",
- desc = "Make the best crop time more compact by removing the crop name and exp and making the time format shorter")
+ desc = "A more compact best crop time: Removing the crop name and exp, hide the # number and using a more compact time format.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 7)
public boolean cropMilestoneBestCompact = false;
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 7810ccb8e..23ea2e33b 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
@@ -65,7 +65,9 @@ class GardenBestCropTime {
if (number > config.cropMilestoneShowOnlyBest && !isCurrent) continue
val list = mutableListOf<Any>()
- list.add("§7$number# ")
+ if (!config.cropMilestoneBestCompact) {
+ list.add("§7$number# ")
+ }
list.addCropIcon(crop)
val color = if (isCurrent) "§e" else "§7"