1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-04-28 22:55:09 +02:00

Remove extra color codes at the start from converted json chat

This commit is contained in:
Thinkofdeath 2014-11-28 19:59:41 +00:00
parent 8768831c56
commit 2575b3f9c0

View file

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