Fixed chat colors
This commit is contained in:
parent
7979631fbd
commit
e76765561c
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue