diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-08-20 16:09:25 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-08-20 16:09:25 -0400 |
commit | 3023a9d96d300706b692d313799978de848bb12f (patch) | |
tree | 7617c5d052d0972872dfb17fd12cacdea2cf3874 /src/main/java/me/Danker/handlers/ConfigHandler.java | |
parent | d23181a65d0e49ea612d7d1ea2ae53701cfe7f0b (diff) | |
download | SkyblockMod-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.java | 2 |
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 |