mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02:00
Remove extra color codes at the start from converted json chat
This commit is contained in:
parent
8768831c56
commit
2575b3f9c0
@ -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…
Reference in New Issue
Block a user