Space chat reports

- Add a blank line before each report and before its hint in chat
- Keep console and log output compact
This commit is contained in:
piexel committed 2026-11-18 15:24:30 +01:00
1 parent 6dd22fa34e
commit 561ec4e0db
4 files changed
+42 -8

No files matched your search

@@ -91,9 +91,10 @@ public final class WorldRefusalReporter implements Listener {
.hint("The console has the full refusal notice", null)
.build();
String tag = Iris.instance == null ? "" : Iris.instance.getTag();
List<ChatReport.Line> lines = report.lines();
for (int index = 0; index < lines.size(); index++) {
player.sendMessage((index == 0 ? tag : "") + lines.get(index).text());
player.sendMessage(ChatReport.SPACER.text());
player.sendMessage(tag + report.titleLine().text());
for (ChatReport.Line line : report.bodyLines(true)) {
player.sendMessage(line.text());
}
}