From 6c795a25ffa72a3974019937ef279774ee2b3ad0 Mon Sep 17 00:00:00 2001 From: kosgan10 Date: Mon, 30 Dec 2013 15:43:58 +0200 Subject: [PATCH] Change message to use ComponentBuilder --- .../src/main/java/net/md_5/bungee/command/CommandAlertRaw.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/command/CommandAlertRaw.java b/proxy/src/main/java/net/md_5/bungee/command/CommandAlertRaw.java index 0ea55c2a9..6e4028da1 100644 --- a/proxy/src/main/java/net/md_5/bungee/command/CommandAlertRaw.java +++ b/proxy/src/main/java/net/md_5/bungee/command/CommandAlertRaw.java @@ -46,7 +46,7 @@ public class CommandAlertRaw extends Command create() ); } else { - sender.sendMessage(ChatColor.RED + "An error occurred while parsing your message. " + e.getMessage()); + sender.sendMessage(new ComponentBuilder( "An error occurred while parsing your message: " ).color( ChatColor.RED ).append( e.getMessage() ).create() ); } } }