diff options
author | Kaloyan Draganov <kaloyan@draganov.com> | 2020-12-21 08:16:05 -0500 |
---|---|---|
committer | Kaloyan Draganov <kaloyan@draganov.com> | 2020-12-21 08:16:05 -0500 |
commit | 87217e662d02187730e1b5209e21f5e1ac970826 (patch) | |
tree | 7306647fa5d170f9611d555a2a49736ba225f0f4 /src/main/java/me/Danker/handlers | |
parent | 98acb1f3394ae0529acb3325ea8535bad238b4bc (diff) | |
download | SkyblockMod-87217e662d02187730e1b5209e21f5e1ac970826.tar.gz SkyblockMod-87217e662d02187730e1b5209e21f5e1ac970826.tar.bz2 SkyblockMod-87217e662d02187730e1b5209e21f5e1ac970826.zip |
Update ConfigHandler.java
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r-- | src/main/java/me/Danker/handlers/ConfigHandler.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java index f7ca598..93425e5 100644 --- a/src/main/java/me/Danker/handlers/ConfigHandler.java +++ b/src/main/java/me/Danker/handlers/ConfigHandler.java @@ -412,7 +412,6 @@ public class ConfigHandler { if (!hasKey("colors", "main")) writeStringConfig("colors", "main", EnumChatFormatting.GREEN.toString()); if (!hasKey("colors", "secondary")) writeStringConfig("colors", "secondary", EnumChatFormatting.DARK_GREEN.toString()); if (!hasKey("colors", "delimiter")) writeStringConfig("colors", "delimiter", EnumChatFormatting.AQUA.toString() + EnumChatFormatting.STRIKETHROUGH.toString()); - if (!getString("colors", "delimiter").contains(EnumChatFormatting.STRIKETHROUGH.toString())) writeStringConfig("colors", "delimiter", getString("colors", "delimiter") + EnumChatFormatting.STRIKETHROUGH.toString()); if (!hasKey("colors", "error")) writeStringConfig("colors", "error", EnumChatFormatting.RED.toString()); if (!hasKey("colors", "type")) writeStringConfig("colors", "type", EnumChatFormatting.GREEN.toString()); if (!hasKey("colors", "value")) writeStringConfig("colors", "value", EnumChatFormatting.DARK_GREEN.toString()); |