Improves console and GUI messages
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good

Adds newlines when writing to console
Add Error: on lines containing an error
Makes it clearer when a jar build is successful
Makes failures show errors rather than throwing exceptions
This commit is contained in:
2021-08-02 17:57:09 +02:00
parent d61239c417
commit 6ec44f1f92
3 changed files with 26 additions and 15 deletions

View File

@ -21,6 +21,7 @@ public class FakeGUI extends MessageHandler implements GUI {
public void setStatus(String message) {
try {
writer.write(message);
writer.newLine();
writer.flush();
} catch (IOException e) {
System.out.println(message);