From b5a2ce2eefb1ffba24d96cec750d7b2d5577bf93 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Tue, 17 Oct 2023 20:49:51 +1100 Subject: Backend: Disable Diana when not Diana (#583) Disabling all diana features if no diana mayor is active, allowing to overwrite the diana mayor check if the election api check failed. #583 --- src/main/java/at/hannibal2/skyhanni/config/features/EventConfig.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/EventConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/EventConfig.java index a349fb2f0..7b4d0211f 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/EventConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/EventConfig.java @@ -195,6 +195,11 @@ public class EventConfig { @ConfigEditorBoolean @FeatureToggle public boolean petWarning = true; + + @Expose + @ConfigOption(name = "Always Diana", desc = "Forcefully set the Diana event to be active. This is useful if the auto mayor detection fails.") + @ConfigEditorBoolean + public boolean alwaysDiana = false; } @ConfigOption(name = "Winter Season on Jerry's Island", desc = "") -- cgit