aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers/ConfigHandler.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-08-25 00:18:42 -0400
committerbowser0000 <bowser0000@gmail.com>2020-08-25 00:18:42 -0400
commitece7f3de65618ee89f86513e4d8307a97c20f012 (patch)
tree992cdb04e51d996ca9cec2a0aecc7ecf7e7361c2 /src/main/java/me/Danker/handlers/ConfigHandler.java
parent4c11aaf6d16940fb02cf14fb97bb76477912dd8f (diff)
downloadSkyblockMod-ece7f3de65618ee89f86513e4d8307a97c20f012.tar.gz
SkyblockMod-ece7f3de65618ee89f86513e4d8307a97c20f012.tar.bz2
SkyblockMod-ece7f3de65618ee89f86513e4d8307a97c20f012.zip
Add pet background (temporary) colours and fix Jerry Workshop /sbplayers
Colours are temporary, will be changed in a future commit.
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 2c6f48d..aa6f5ba 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -179,6 +179,7 @@ public class ConfigHandler {
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("toggles", "PetColors")) writeBooleanConfig("toggles", "PetColors", false);
if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", "");
@@ -294,6 +295,7 @@ public class ConfigHandler {
tf.spiritBearAlerts = getBoolean("toggles", "SpiritBearAlerts");
tf.aotdToggled = getBoolean("toggles", "AOTD");
tf.sceptreMessages = getBoolean("toggles", "SceptreMessages");
+ tf.petColoursToggled = getBoolean("toggles", "PetColors");
final LootCommand lc = new LootCommand();
// Wolf