mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 04:52:26 +00:00
Use ChastStyle instead of formatting codes
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user