Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-16 19:40:07 +01:00
Wouldn't it be nice if the console was coloured - actually colour console messages instead of just leaving colour codes.
Dieser Commit ist enthalten in:
Ursprung
7d3638eb6d
Commit
1fbd057e42
22
CraftBukkit-Patches/0059-Colour-Console-Messages.patch
Normale Datei
22
CraftBukkit-Patches/0059-Colour-Console-Messages.patch
Normale Datei
@ -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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren