summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-10-17 20:49:51 +1100
committerGitHub <noreply@github.com>2023-10-17 11:49:51 +0200
commitb5a2ce2eefb1ffba24d96cec750d7b2d5577bf93 (patch)
tree6cc25e43cecf6efc140df57df125acecf9147bb4 /src/main/java/at/hannibal2/skyhanni/config
parent168455eeed4af33ba49ad8a8bc9f2b6b1a051152 (diff)
downloadskyhanni-b5a2ce2eefb1ffba24d96cec750d7b2d5577bf93.tar.gz
skyhanni-b5a2ce2eefb1ffba24d96cec750d7b2d5577bf93.tar.bz2
skyhanni-b5a2ce2eefb1ffba24d96cec750d7b2d5577bf93.zip
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
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/EventConfig.java5
1 files changed, 5 insertions, 0 deletions
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 = "")