diff options
Diffstat (limited to 'src/main')
3 files changed, 10 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt index 1b94bd231..28881b7f1 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt @@ -76,6 +76,10 @@ class CropMoneyDisplay { newDisplay.addAsSingletonList(fullTitle(title)) + if (!config.cropMilestoneProgress) { + newDisplay.addAsSingletonList("§cCrop Milestone Progress Display is disabled!") + return newDisplay + } val moneyPerHourData = calculateMoneyPerHour() if (moneyPerHourData.isEmpty()) { diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt index 781691546..c7351b763 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt @@ -70,7 +70,7 @@ class FarmingFortuneDisplay { @SubscribeEvent fun onRenderOverlay(event: GuiRenderEvent.GameOverlayRenderEvent) { if (!isEnabled()) return - config.farmingFortunePos.renderSingleLineWithItems(display, posLabel = "Farming Fortune") + config.farmingFortunePos.renderSingleLineWithItems(display, posLabel = "True Farming Fortune") } @SubscribeEvent 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 003bcde11..87666a1ed 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt @@ -40,6 +40,11 @@ class GardenBestCropTime { newList.addAsSingletonList("§eBest Crop Time §7($title§7)") } + if (!config.cropMilestoneProgress) { + newList.addAsSingletonList("§cCrop Milestone Progress Display is disabled!") + return newList + } + if (sorted.isEmpty()) { newList.addAsSingletonList("§cFarm crops to add them to this list!") return newList |