Makes some improvements
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
Saves the downloaded BuildTools version to the server version container Adds a check to see whether the BuildTools file exists Adds a helper function for reading local files
This commit is contained in:
@ -77,7 +77,7 @@ public class Console extends KeyAdapter implements ActionListener, KeyListener {
|
||||
|
||||
/**
|
||||
* Truncates the first 50 lines if the console output has reached the max limit
|
||||
* @param outputLines <p>The currently readable lines in the console output field.</p>
|
||||
* @param outputLines <p>The currently readable lines in the console output field</p>
|
||||
*/
|
||||
private void truncateConsole(int outputLines) {
|
||||
String oldText = this.textOutput.getText();
|
||||
@ -123,7 +123,7 @@ public class Console extends KeyAdapter implements ActionListener, KeyListener {
|
||||
* Shows the previously executed command in the input field
|
||||
*
|
||||
* <p>Shows the previously executed command if a command was just executed.
|
||||
* Shows the command executed earlier if already showing a previously executed command.</p>
|
||||
* Shows the command executed earlier if already showing a previously executed command</p>
|
||||
*/
|
||||
private void showPreviousCommand() {
|
||||
if (commands.size() > 0 && commandIndex > 0) {
|
||||
@ -135,7 +135,7 @@ public class Console extends KeyAdapter implements ActionListener, KeyListener {
|
||||
* Shows the next previously executed command or clears the input field
|
||||
*
|
||||
* <p>Shows the next previously executed command if such a command exists.
|
||||
* Clears the input field if no next used command exists.</p>
|
||||
* Clears the input field if no next used command exists</p>
|
||||
*/
|
||||
private void showNextCommand() {
|
||||
if (commands.size() > 0) {
|
||||
|
Reference in New Issue
Block a user