Use ChastStyle instead of formatting codes

This commit is contained in:
CovertJaguar committed 2014-11-13 04:33:41 -08:00
1 parent 79c7ae435c
commit 8fe22130d3
2 files changed
+4 -2

No files matched your search

@@ -93,7 +93,9 @@ public class CommandMail extends SubCommand {
MailAddress address = new MailAddress(args[0]);
ITradeStation trade = PostManager.postRegistry.getTradeStation(world, address);
if (trade == null) {
CommandHelpers.sendLocalizedChatMessage(sender, "for.chat.command.forestry.mail.virtualize.no_tradestation", args[0]);
ChatStyle red = new ChatStyle();
red.setColor(EnumChatFormatting.RED);
CommandHelpers.sendLocalizedChatMessage(sender, red, "for.chat.command.forestry.mail.virtualize.no_tradestation", args[0]);
return;
}