Finish user settings feature

This commit is contained in:
Draycia authored and Josh (Vicarious) committed 2020-07-07 05:05:11 -07:00
1 parent 6530c8d026
commit 36672f8ed3
10 files changed
+116 -19

No files matched your search

@@ -157,7 +157,7 @@ public class SimpleChatChannel extends ChatChannel {
// Get formatted message
TextComponent formattedMessage = (TextComponent)MiniMessage.get().parse(formatEvent.getFormat(),
"color", "<" + color.toString() + ">",
"color", "<color:" + color.toString() + ">",
"phase", Long.toString(System.currentTimeMillis() % 25),
"server", simpleChat.getConfig().getString("server-name", "Server"),
"message", formatEvent.getMessage());
@@ -175,7 +175,7 @@ public class SimpleChatChannel extends ChatChannel {
chatUser.sendMessage(componentEvent.getComponent());
} else {
TextComponent newFormat = (TextComponent)MiniMessage.get().parse(formatEvent.getFormat(),
"color", "<" + userColor.toString() + ">",
"color", "<color:" + userColor.toString() + ">",
"phase", Long.toString(System.currentTimeMillis() % 25),
"server", simpleChat.getConfig().getString("server-name", "Server"),
"message", formatEvent.getMessage());