diff --git a/Loader/src/main/java/de/com/baseband/launcher/Loader.java b/Loader/src/main/java/de/com/baseband/launcher/Loader.java index e6d9a80..e88ca68 100644 --- a/Loader/src/main/java/de/com/baseband/launcher/Loader.java +++ b/Loader/src/main/java/de/com/baseband/launcher/Loader.java @@ -110,17 +110,16 @@ public class Loader implements Util { x.finish(); }) .option("Run BaseBand (custom)", x -> x.newScreen() - .option("Broadway-Only mode", x1 -> x.data.set("release-only", true)) .option("Run BaseBand normally", ClientBoot::finish) .option("Run in recovery mode", x1 -> { - x.data.set("config-file", "baseband.db.tmp"); + x1.data.set("config-file", "baseband.db.tmp"); File file = new File("baseband.db.tmp"); file.delete(); file.deleteOnExit(); - x.finish(); + x1.finish(); }) .option("Run in read-only mode", x1 -> { - x.data.set("config-file", "baseband.db.tmp"); + x1.data.set("config-file", "baseband.db.tmp"); File file = new File("baseband.db.tmp"); file.delete(); try { @@ -129,18 +128,18 @@ public class Loader implements Util { throw new RuntimeException(e); } file.deleteOnExit(); - x.finish(); + x1.finish(); }) .option("Run in debug mode", x1 -> { // Broadway-PopBob if(Hasher.sha512hex(JOptionPane.showInputDialog("I need to make sure you have permission to do this.")).equals("4d05926f29c573e2759f96958025a0a0f2ff6873270c3528d0066a9b6e29ab81f0c633890ef148a4b3da51e50e2c1b96cf9710b4a393bcf1261d54417e255a5e")) { - x.data.set("ip", "localhost"); - x.finish(); + x1.data.set("ip", "localhost"); + x1.finish(); } else { - x.currentOption().name = "You are not permitted to do this."; - x.currentOption().toLabel(); - x.focus(); + x1.currentOption().name = "You are not permitted to do this."; + x1.currentOption().toLabel(); + x1.focus(); } }) .option("Back", ClientBoot::back)) @@ -248,7 +247,7 @@ public class Loader implements Util { } }) .option("Server mode", x -> x.newScreen() - .option("SPL", x1 -> x1.back().data.set("server", "spl")) + .option("SPL (newer)", x1 -> x1.back().data.set("server", "spl")) .option("Java", x1 -> x1.back().data.set("server", "java"))) .option("Persist changes", x -> { try(FileOutputStream fos = new FileOutputStream("baseband_launch.json")) {