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 74cfd13..60d63c0 100644 --- a/Loader/src/main/java/de/com/baseband/launcher/Loader.java +++ b/Loader/src/main/java/de/com/baseband/launcher/Loader.java @@ -91,7 +91,7 @@ public class Loader implements Util { preOptions.setIfAbsent("timeout", 5); TCN branches; try { - branches = JSON.read(new StreamReader(new URL("https://download.baseband.com.de/branches").openStream()).readAllAsString()); + branches = JSON.read(new StreamReader(new URL("https://download.baseband.com.de/1.12.2/branches").openStream()).readAllAsString()); } catch (Exception e) { exit(); return; @@ -363,7 +363,7 @@ public class Loader implements Util { } options.set("build-name", branches.getSub(options.getString("branch")).getString("name")); - HashMap data = downloadFromSPL("https://download.baseband.com.de/download/client/" + options.getString("branch"), null); + HashMap data = downloadFromSPL("https://download.baseband.com.de/1.12.2/download/client/" + options.getString("branch"), null); LOGGER.info("BaseBand downloaded: {} chunks.", data.size()); LOGGER.info("Booting BaseBand {} @ {}", options.getString("build-name"), new String(data.get("commit")).trim()); classLoader = new GameClassLoader(data); @@ -374,7 +374,7 @@ public class Loader implements Util { private static void splUpdate() { LOGGER.info("BaseBand is downloading a significant update..."); - SimpleClassLoader loaderReloader = new SimpleClassLoader(downloadFromSPL("https://download.baseband.com.de/download/loader", HTTPUtils.decodeUTF8(Loader.class.getProtectionDomain().getCodeSource().getLocation().getFile()))); + SimpleClassLoader loaderReloader = new SimpleClassLoader(downloadFromSPL("https://download.baseband.com.de/1.12.2/download/loader", HTTPUtils.decodeUTF8(Loader.class.getProtectionDomain().getCodeSource().getLocation().getFile()))); LOGGER.info("BaseBand has downloaded a significant update. Applying..."); try { loaderReloader.loadClass(Tweaker.class.getName()).getMethod("load").invoke(null);