From 2da31622060810b1f3b97aadbe374ba40cbd4bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 3 Dec 2015 23:27:26 +0100 Subject: GH-1320 do not fail when launcher part can't change sys_paths --- depends/launcher/org/multimc/onesix/OneSixLauncher.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/depends/launcher/org/multimc/onesix/OneSixLauncher.java b/depends/launcher/org/multimc/onesix/OneSixLauncher.java index 8ef6376d..d94d06b0 100644 --- a/depends/launcher/org/multimc/onesix/OneSixLauncher.java +++ b/depends/launcher/org/multimc/onesix/OneSixLauncher.java @@ -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 ... -- cgit v1.2.3