diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-08-22 23:03:39 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-08-22 23:03:39 -0400 |
commit | 4c11aaf6d16940fb02cf14fb97bb76477912dd8f (patch) | |
tree | 45425d88192d45ab88debde138c64a6621cf9beb /src/main/java/me/Danker/handlers | |
parent | 22e6274ab106bc3dffa62b255550ce551c1b38fd (diff) | |
download | SkyblockMod-4c11aaf6d16940fb02cf14fb97bb76477912dd8f.tar.gz SkyblockMod-4c11aaf6d16940fb02cf14fb97bb76477912dd8f.tar.bz2 SkyblockMod-4c11aaf6d16940fb02cf14fb97bb76477912dd8f.zip |
Add option to disable Spirit Sceptre messages
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r-- | src/main/java/me/Danker/handlers/ConfigHandler.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java index c1acd39..2c6f48d 100644 --- a/src/main/java/me/Danker/handlers/ConfigHandler.java +++ b/src/main/java/me/Danker/handlers/ConfigHandler.java @@ -178,6 +178,8 @@ public class ConfigHandler { 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("toggles", "SceptreMessages")) writeBooleanConfig("toggles", "SceptreMessages", true); + if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", ""); // Wolf Loot @@ -291,6 +293,7 @@ public class ConfigHandler { tf.chatMaddoxToggled = getBoolean("toggles", "ChatMaddox"); tf.spiritBearAlerts = getBoolean("toggles", "SpiritBearAlerts"); tf.aotdToggled = getBoolean("toggles", "AOTD"); + tf.sceptreMessages = getBoolean("toggles", "SceptreMessages"); final LootCommand lc = new LootCommand(); // Wolf |