aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-17 22:15:34 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-17 22:15:34 +0200
commit6e0c30ab39b7836e0614e167b4c1dcf705bb6e7e (patch)
tree6465b3b552f4fbb0521d654db5f6cad2c5f64613 /src/main/java/at/hannibal2/skyhanni/features
parent1e725fe960da8d7c4705cebae6d8b4a4eb3658bb (diff)
downloadskyhanni-6e0c30ab39b7836e0614e167b4c1dcf705bb6e7e.tar.gz
skyhanni-6e0c30ab39b7836e0614e167b4c1dcf705bb6e7e.tar.bz2
skyhanni-6e0c30ab39b7836e0614e167b4c1dcf705bb6e7e.zip
Added option to hide the title of money per hour entirely
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
index d219aefce..a699a767a 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
@@ -83,7 +83,9 @@ class CropMoneyDisplay {
if (!hasCropInHand && !config.moneyPerHourAlwaysOn) return newDisplay
- newDisplay.addAsSingletonList(fullTitle(title))
+ if (!config.moneyPerHourHideTitle) {
+ newDisplay.addAsSingletonList(fullTitle(title))
+ }
if (!config.cropMilestoneProgress) {
newDisplay.addAsSingletonList("§cCrop Milestone Progress Display is disabled!")