mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Remove extra color codes at the start from converted json chat
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user