Refactored chat messaging api

This commit is contained in:
2023-09-30 23:31:36 +02:00
parent 3489800f28
commit cbe16a669c
9 changed files with 78 additions and 18 deletions

View File

@@ -33,10 +33,11 @@ public abstract class Score {
isDone = true;
new ChatMessage(Icon.STAR)
.appendTranslated("score#result")
.indent(1)
.pipe()
.list(getResults())
.indent(-1).newLine()
.newLine()
.indent()
.numberedList(getResults())
.undent()
.newLine()
.appendTranslated("score#thanks")
.send(instance.getPlayers());