File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/org/kettingpowered/launcher Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ configurations {
38
38
39
39
dependencies {
40
40
compileOnly ' org.jetbrains:annotations:23.0.0'
41
- implementation ' org.kettingpowered:kettingcommon:2.1.0 '
41
+ implementation ' org.kettingpowered:kettingcommon:2.1.2 '
42
42
implementation ' com.google.code.gson:gson:2.10.1' // Used in Patcher
43
43
implementation ' me.tongfei:progressbar:0.10.0' // Used to display progress
44
44
transitive ' org.jline:jline-reader:3.21.0' // needed for progressbar
Original file line number Diff line number Diff line change @@ -335,6 +335,7 @@ void launch() throws Exception {
335
335
downloadMCP .join ();
336
336
if (Patcher .checkUpdateNeeded ()) new Patcher ();
337
337
338
+ JavaHacks .clearReservedIdentifiers ();
338
339
Arrays .stream (libs .getLoadedLibs ())
339
340
.map (url -> {
340
341
try {
@@ -343,14 +344,13 @@ void launch() throws Exception {
343
344
throw new RuntimeException (e );
344
345
}
345
346
}).forEach (jarFile -> Main .INST .appendToSystemClassLoaderSearch (jarFile ));
346
-
347
+ JavaHacks . loadExternalFileSystems ( KettingLauncher . class . getClassLoader ());
347
348
348
349
349
350
System .out .println ("Launching Ketting..." );
350
351
final List <String > arg_list = new ArrayList <>(args .args ());
351
352
arg_list .add ("--launchTarget" );
352
353
arg_list .add (args .launchTarget ());
353
- JavaHacks .clearReservedIdentifiers ();
354
354
355
355
Class .forName ("net.minecraftforge.bootstrap.ForgeBootstrap" , true , KettingLauncher .class .getClassLoader ())
356
356
.getMethod ("main" , String [].class )
You can’t perform that action at this time.
0 commit comments