Wouldn't it be nice if the console was coloured - actually colour console messages instead of just leaving colour codes.

This commit is contained in:
md_5 2013-07-04 10:12:26 +10:00
parent 7d3638eb6d
commit 1fbd057e42
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
From 1b3cf982d56aa8a2a0df4cf97bf1eb83e87e2f1d 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 c59b793..415087a 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -917,7 +917,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