From f4ee6f1900af5ba479317e5375d6dd8b2482be9e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 23 Mar 2023 21:45:30 +0100 Subject: Show the Overtake ETA always, even when not farming at the moment. --- src/main/java/at/hannibal2/skyhanni/config/features/Garden.java | 6 ++++++ .../at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 a782dbd72..7f0c8ce10 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java @@ -425,6 +425,12 @@ public class Garden { @ConfigAccordionId(id = 11) public boolean eliteFarmingWeightOvertakeETA = false; + @Expose + @ConfigOption(name = "Always ETA", desc = "Show the Overtake ETA always, even when not farming at the moment.") + @ConfigEditorBoolean + @ConfigAccordionId(id = 11) + public boolean eliteFarmingWeightOvertakeETAAlways = true; + @Expose @ConfigOption(name = "Dicer Counter", desc = "") @ConfigEditorAccordion(id = 12) diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt index 8aa187fad..0ce180d32 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt @@ -107,7 +107,8 @@ class EliteFarmingWeight { val list = mutableListOf() list.add("§6Farming Weight§7: $weight$leaderboard") - if (isEtaEnabled() && weightPerSecond != -1.0) { + + if (isEtaEnabled() && (weightPerSecond != -1.0 || config.eliteFarmingWeightOvertakeETAAlways)) { list.add(getETA()) } display = list -- cgit