And use the parent that's actually going to be valid. *sigh*

This commit is contained in:
Christian committed 2013-09-24 08:42:13 -04:00
1 parent 70cffe6982
commit a4de22c1ad
1 file changed
+1 -1
@@ -246,7 +246,7 @@ public class CoreModManager
ADDURL = URLClassLoader.class.getDeclaredMethod("addURL", URL.class);
ADDURL.setAccessible(true);
}
ADDURL.invoke(classLoader.getParent(), coreMod.toURI().toURL());
ADDURL.invoke(classLoader.getClass().getClassLoader(), coreMod.toURI().toURL());
CoreModManager.tweaker.injectCascadingTweak(cascadedTweaker);
}
catch (Exception e)