diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-23 00:52:58 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-23 00:52:58 +0200 |
commit | 234a02aaf6beabc5e879fa0366295e76e11732be (patch) | |
tree | a7d6c8458076e6a5e4a0fee0cfd7d92c98ee2060 /src/main | |
parent | fcd3d5fa9b0fa9d36215f6dab790dae1c5bf765d (diff) | |
download | skyhanni-234a02aaf6beabc5e879fa0366295e76e11732be.tar.gz skyhanni-234a02aaf6beabc5e879fa0366295e76e11732be.tar.bz2 skyhanni-234a02aaf6beabc5e879fa0366295e76e11732be.zip |
Best crop time compact display now hides the # number too
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Garden.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt | 4 |
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" |