13
0
geforkt von Mirrors/Paper

Remove extra color codes at the start from converted json chat

By: Thinkofdeath <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2014-11-28 19:59:41 +00:00
Ursprung 85c2090056
Commit 520089d10e

Datei anzeigen

@ -154,7 +154,7 @@ public final class CraftChatMessage {
} }
out.append(c.getText()); out.append(c.getText());
} }
return out.toString(); return out.toString().replaceFirst("^(§0)*", "");
} }
private CraftChatMessage() { private CraftChatMessage() {