mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 16:54:04 +00:00
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:
1 parent
6dd22fa34e
commit
561ec4e0db
4 files changed
+42
-8
No files matched your search
+4
-3
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user