Add to both the classloader and the parent

This commit is contained in:
Christian committed 2013-09-26 13:01:00 -04:00
1 parent 9f0f9e7288
commit bfc25bc5da
1 file changed
+1
@@ -248,6 +248,7 @@ public class CoreModManager
ADDURL.setAccessible(true);
}
ADDURL.invoke(classLoader.getClass().getClassLoader(), coreMod.toURI().toURL());
classLoader.addURL(coreMod.toURI().toURL());
CoreModManager.tweaker.injectCascadingTweak(cascadedTweaker);
}
catch (Exception e)