added missing gradle files

This commit is contained in:
MineTec committed 2023-11-11 23:22:52 +01:00
1 parent 541eb1e733
commit 2306308071
8 files changed
+112 -22

No files matched your search

@@ -18,7 +18,7 @@ public class RoomCommand extends PrivilegedCommand {
Room.getAllRooms().forEach((roomInstance) -> out
.newLine()
.appendStatic("Owner: ").appendStatic(roomInstance.getOwner().getUsername()).newLine()
.appendStatic("Owner: ").appendStatic(roomInstance.getOwner() != null ? roomInstance.getOwner().getUsername() : "none").newLine()
.appendStatic("Players: ").appendStatic(String.valueOf(roomInstance.getAllMembers().size())).newLine()
.list(roomInstance.getAllMembers().stream().map(Player::getUsername).collect(Collectors.toList())).newLine());