Skip to content

Commit

Permalink
Show the Overtake ETA always, even when not farming at the moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannibal002 committed Mar 23, 2023
1 parent b41ed23 commit bb05f44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb05f44

Please sign in to comment.