aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
diff options
context:
space:
mode:
authorKaloyan Draganov <kaloyan@draganov.com>2020-12-20 22:42:27 -0500
committerKaloyan Draganov <kaloyan@draganov.com>2020-12-20 22:42:27 -0500
commit1b24fe5548a52a9416efc91284ffb4256c6c5610 (patch)
tree45d72ece12cc04c42feb458e3074756ff90623c3 /src/main/java/me/Danker/handlers
parent5df12d316ddefa2b32de9e226168469bfd5a03f9 (diff)
downloadSkyblockMod-1b24fe5548a52a9416efc91284ffb4256c6c5610.tar.gz
SkyblockMod-1b24fe5548a52a9416efc91284ffb4256c6c5610.tar.bz2
SkyblockMod-1b24fe5548a52a9416efc91284ffb4256c6c5610.zip
Reparty Command
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 7bf6ce2..f7ca598 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -411,7 +411,8 @@ 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());
+ 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());