diff options
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 7724354c..a8241311 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -710,8 +710,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener { } s = String.format(event.getFormat(), event.getPlayer().getDisplayName(), event.getMessage()); - ColouredConsoleSender c = new ColouredConsoleSender(this.minecraftServer.server); - c.sendMessage(s); + minecraftServer.console.sendMessage(s); for (Player recipient : event.getRecipients()) { recipient.sendMessage(s); } |