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)
|
new ChatMessage(Icon.STAR)
|
||||||
.appendTranslated("score#result")
|
.appendTranslated("score#result")
|
||||||
.newLine()
|
.newLine()
|
||||||
.appendStatic("Test")
|
|
||||||
.appendStatic("Test")
|
|
||||||
.indent()
|
.indent()
|
||||||
.list(testplayers)
|
.numberedList(testplayers)
|
||||||
|
.undent()
|
||||||
|
.newLine()
|
||||||
.appendTranslated("score#thanks")
|
.appendTranslated("score#thanks")
|
||||||
.send(sender);
|
.send(sender);
|
||||||
});
|
});
|
||||||
|
@ -6,6 +6,8 @@ import net.minestom.server.entity.Player;
|
|||||||
|
|
||||||
public class ChatMessage extends TranslatableMessage {
|
public class ChatMessage extends TranslatableMessage {
|
||||||
public ChatMessage(Icon icon) {
|
public ChatMessage(Icon icon) {
|
||||||
|
super.appendStatic(" ");
|
||||||
|
pipe();
|
||||||
super.appendStatic("\n");
|
super.appendStatic("\n");
|
||||||
appendStatic(icon.getComponent());
|
appendStatic(icon.getComponent());
|
||||||
pipe();
|
pipe();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user