aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers/ConfigHandler.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-08-20 16:09:25 -0400
committerbowser0000 <bowser0000@gmail.com>2020-08-20 16:09:25 -0400
commit3023a9d96d300706b692d313799978de848bb12f (patch)
tree7617c5d052d0972872dfb17fd12cacdea2cf3874 /src/main/java/me/Danker/handlers/ConfigHandler.java
parentd23181a65d0e49ea612d7d1ea2ae53701cfe7f0b (diff)
downloadSkyblockMod-3023a9d96d300706b692d313799978de848bb12f.tar.gz
SkyblockMod-3023a9d96d300706b692d313799978de848bb12f.tar.bz2
SkyblockMod-3023a9d96d300706b692d313799978de848bb12f.zip
Add option to block AOTD ability
Diffstat (limited to 'src/main/java/me/Danker/handlers/ConfigHandler.java')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 10b2e0d..c1acd39 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -177,6 +177,7 @@ public class ConfigHandler {
if (!hasKey("toggles", "SplitFishing")) writeBooleanConfig("toggles", "SplitFishing", true);
if (!hasKey("toggles", "ChatMaddox")) writeBooleanConfig("toggles", "ChatMaddox", true);
if (!hasKey("toggles", "SpiritBearAlerts")) writeBooleanConfig("toggles", "SpiritBearAlerts", true);
+ if (!hasKey("toggles", "AOTD")) writeBooleanConfig("toggles", "AOTD", false);
if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", "");
// Wolf Loot
@@ -289,6 +290,7 @@ public class ConfigHandler {
tf.splitFishing = getBoolean("toggles", "SplitFishing");
tf.chatMaddoxToggled = getBoolean("toggles", "ChatMaddox");
tf.spiritBearAlerts = getBoolean("toggles", "SpiritBearAlerts");
+ tf.aotdToggled = getBoolean("toggles", "AOTD");
final LootCommand lc = new LootCommand();
// Wolf