mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-24 17:47:41 +01:00
Change message to use ComponentBuilder
This commit is contained in:
parent
d3159fe6ca
commit
6c795a25ff
@ -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() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user