From 6e0c30ab39b7836e0614e167b4c1dcf705bb6e7e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 17 Apr 2023 22:15:34 +0200 Subject: Added option to hide the title of money per hour entirely --- .../at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') 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!") -- cgit