Added pipe in chat message spacer
This commit is contained in:
parent
cbe16a669c
commit
ee9115b774
Binary file not shown.
@ -29,10 +29,10 @@ public class DebugCommand extends Command {
|
||||
new ChatMessage(Icon.STAR)
|
||||
.appendTranslated("score#result")
|
||||
.newLine()
|
||||
.appendStatic("Test")
|
||||
.appendStatic("Test")
|
||||
.indent()
|
||||
.list(testplayers)
|
||||
.numberedList(testplayers)
|
||||
.undent()
|
||||
.newLine()
|
||||
.appendTranslated("score#thanks")
|
||||
.send(sender);
|
||||
});
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user