testserver/CraftBukkit-Patches/0058-Colour-Console-Message...

23 lines
860 B
Diff
Raw Normal View History

From 3e3ad5a9e5de8bd5cd84d5d478c0b8ac8b2b7333 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Thu, 4 Jul 2013 10:11:46 +1000
Subject: [PATCH] Colour Console Messages
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index e5b8391..e8e3c9e 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
2013-09-20 01:46:45 +00:00
@@ -919,7 +919,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
}
public void sendMessage(ChatMessage chatmessage) {
- this.getLogger().info(chatmessage.toString());
+ this.console.sendMessage(chatmessage.toString()); // Spigot - we want coloured and pretty messages too!
}
public boolean a(int i, String s) {
--
1.8.1.2