Fixes a bug causing newlines to disappear when a console is truncated
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
This commit is contained in:
parent
e8ecee1cd0
commit
849655bfc6
@ -93,7 +93,7 @@ public class Console extends KeyAdapter implements ActionListener, KeyListener {
|
||||
StringBuilder newTextBuilder = new StringBuilder();
|
||||
for (String line : oldTextList) {
|
||||
if (!line.equals("")) {
|
||||
newTextBuilder.append(line);
|
||||
newTextBuilder.append(line).append("\n");
|
||||
}
|
||||
}
|
||||
this.textOutput.setText(newTextBuilder.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user