Small fix to use Paper/Travertine/Waterfall's updated API for downloading .jar files
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good

Additionally fixes some formatting mistakes
Updates version to 1.4.1
This commit is contained in:
2021-11-24 19:54:59 +01:00
parent 166d63f1b2
commit b142b6d05e
18 changed files with 63 additions and 41 deletions

View File

@ -164,7 +164,7 @@ public class ServerLauncherMenu implements ActionListener {
* Creates a checkbox menu item
*
* @param itemName <p>The name of the new checkbox item</p>
* @param parent <p>The parent menu the item belongs to</p>
* @param parent <p>The parent menu the item belongs to</p>
* @return <p>The created checkbox menu item</p>
*/
private JCheckBoxMenuItem createCheckBoxMenuItem(String itemName, JMenu parent) {
@ -178,7 +178,7 @@ public class ServerLauncherMenu implements ActionListener {
* Creates a menu item
*
* @param itemName <p>The name of the new item</p>
* @param parent <p>The parent menu the item belongs to</p>
* @param parent <p>The parent menu the item belongs to</p>
* @return <p>The created menu item</p>
*/
private JMenuItem createMenuItem(String itemName, JMenu parent) {
@ -190,6 +190,7 @@ public class ServerLauncherMenu implements ActionListener {
/**
* Asks the user for the new Java path
*
* @param old <p>Whether asking for the path to the old java version</p>
*/
private void configureJava(boolean old) {