Refactored chat messaging api

This commit is contained in:
MineTec committed 2023-09-30 23:31:36 +02:00
1 parent 3489800f28
commit cbe16a669c
9 files changed
+78 -18

No files matched your search

@@ -37,7 +37,7 @@ public class GameSelector extends InteractableEntity {
if(playerEntityInteractEvent.getPlayer() != room.getOwner()) {
abstractVillagerMeta.setHeadShakeTimer(20);
new ChatMessage(Icon.ERROR).appendStatic("Only the room leader can start games!").indent(1).newLine()
new ChatMessage(Icon.ERROR).appendStatic("Only the room leader can start games!").newLine()
.appendStatic("current leader: ").appendStatic(room.getOwner().getUsername())
.send(playerEntityInteractEvent.getPlayer());