From e76765561c0348072445303f934e6e9ba73c9540 Mon Sep 17 00:00:00 2001 From: LemADEC Date: Sat, 9 Apr 2016 13:49:21 +0200 Subject: [PATCH] Fixed chat colors --- src/main/java/cr0s/warpdrive/WarpDrive.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cr0s/warpdrive/WarpDrive.java b/src/main/java/cr0s/warpdrive/WarpDrive.java index caddd167..e108997b 100644 --- a/src/main/java/cr0s/warpdrive/WarpDrive.java +++ b/src/main/java/cr0s/warpdrive/WarpDrive.java @@ -546,7 +546,7 @@ public class WarpDrive implements LoadingCallback { } public static void addChatMessage(final ICommandSender sender, final String message) { - String[] lines = message.replace("\\n", "\n").split("\n"); + String[] lines = message.replace("ยง", "" + (char)167).replace("\\n", "\n").split("\n"); for (String line : lines) { sender.addChatMessage(new ChatComponentText(line)); }