Added pipe in chat message spacer

This commit is contained in:
2023-09-30 23:53:08 +02:00
parent cbe16a669c
commit ee9115b774
3 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,8 @@ import net.minestom.server.entity.Player;
public class ChatMessage extends TranslatableMessage {
public ChatMessage(Icon icon) {
super.appendStatic(" ");
pipe();
super.appendStatic("\n");
appendStatic(icon.getComponent());
pipe();