GH-1320 do not fail when launcher part can't change sys_paths
This commit is contained in:
parent
a5b8f22eab
commit
2da3162206
@ -373,11 +373,12 @@ public class OneSixLauncher implements Launcher
|
||||
Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths");
|
||||
fieldSysPath.setAccessible( true );
|
||||
fieldSysPath.set( null, null );
|
||||
} catch (Exception e)
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
System.err.println("Failed to set the native library path:");
|
||||
e.printStackTrace(System.err);
|
||||
return -1;
|
||||
System.err.println("Minecraft might fail to launch...");
|
||||
}
|
||||
|
||||
// grab the system classloader and ...
|
||||
|
Loading…
Reference in New Issue
Block a user