Improves server waiting and killing
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good

Makes the client force stop servers if the stop button is clicked more than once
Prevents new servers from starting after server stop is initialized
This commit is contained in:
2021-02-05 18:41:54 +01:00
parent fb705f4e13
commit 3254481326
3 changed files with 57 additions and 7 deletions

View File

@ -401,6 +401,9 @@ public class ServerLauncherGUI extends MessageHandler implements ActionListener,
} catch (IOException e1) {
showError("Could not stop server.");
e1.printStackTrace();
} catch (InterruptedException e) {
showError("Could not kill server.");
e.printStackTrace();
}
}