mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
Remove extra color codes at the start from converted json chat
This commit is contained in:
parent
8768831c56
commit
2575b3f9c0
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ public final class CraftChatMessage {
|
|||
}
|
||||
out.append(c.getText());
|
||||
}
|
||||
return out.toString();
|
||||
return out.toString().replaceFirst("^(§0)*", "");
|
||||
}
|
||||
|
||||
private CraftChatMessage() {
|
||||
|
|
Loading…
Add table
Reference in a new issue