Add to both the classloader and the parent

This commit is contained in:
Christian 2013-09-26 13:01:00 -04:00
parent 9bcf633e8c
commit ef70a1d29e

View file

@ -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)