aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-23 21:45:30 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-23 21:45:30 +0100
commitf4ee6f1900af5ba479317e5375d6dd8b2482be9e (patch)
tree0dcac05c42e1ab1ceb20a52f50fd85c9ce258095
parent8e0a917ba5e84148d9afbdd35c49c8fe29c6a667 (diff)
downloadskyhanni-f4ee6f1900af5ba479317e5375d6dd8b2482be9e.tar.gz
skyhanni-f4ee6f1900af5ba479317e5375d6dd8b2482be9e.tar.bz2
skyhanni-f4ee6f1900af5ba479317e5375d6dd8b2482be9e.zip
Show the Overtake ETA always, even when not farming at the moment.
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Garden.java6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt3
2 files changed, 8 insertions, 1 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 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
@@ -426,6 +426,12 @@ public class Garden {
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)
public boolean dicerCounter = false;
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<String>()
list.add("§6Farming Weight§7: $weight$leaderboard")
- if (isEtaEnabled() && weightPerSecond != -1.0) {
+
+ if (isEtaEnabled() && (weightPerSecond != -1.0 || config.eliteFarmingWeightOvertakeETAAlways)) {
list.add(getETA())
}
display = list