Skip to content

Commit e7c1363

Browse files
committed
Add back loadExternalFileSystems
1 parent a1f0566 commit e7c1363

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ configurations {
3838

3939
dependencies {
4040
compileOnly 'org.jetbrains:annotations:23.0.0'
41-
implementation 'org.kettingpowered:kettingcommon:2.1.0'
41+
implementation 'org.kettingpowered:kettingcommon:2.1.2'
4242
implementation 'com.google.code.gson:gson:2.10.1' //Used in Patcher
4343
implementation 'me.tongfei:progressbar:0.10.0' //Used to display progress
4444
transitive 'org.jline:jline-reader:3.21.0' //needed for progressbar

src/main/java/org/kettingpowered/launcher/KettingLauncher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ void launch() throws Exception {
335335
downloadMCP.join();
336336
if (Patcher.checkUpdateNeeded()) new Patcher();
337337

338+
JavaHacks.clearReservedIdentifiers();
338339
Arrays.stream(libs.getLoadedLibs())
339340
.map(url-> {
340341
try {
@@ -343,14 +344,13 @@ void launch() throws Exception {
343344
throw new RuntimeException(e);
344345
}
345346
}).forEach(jarFile -> Main.INST.appendToSystemClassLoaderSearch(jarFile));
346-
347+
JavaHacks.loadExternalFileSystems(KettingLauncher.class.getClassLoader());
347348

348349

349350
System.out.println("Launching Ketting...");
350351
final List<String> arg_list = new ArrayList<>(args.args());
351352
arg_list.add("--launchTarget");
352353
arg_list.add(args.launchTarget());
353-
JavaHacks.clearReservedIdentifiers();
354354

355355
Class.forName("net.minecraftforge.bootstrap.ForgeBootstrap", true, KettingLauncher.class.getClassLoader())
356356
.getMethod("main", String[].class)

0 commit comments

Comments
 (0)