Remove extra color codes at the start from converted json chat
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
85c2090056
commit
520089d10e
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue