Add to both the classloader and the parent
This commit is contained in:
parent
9bcf633e8c
commit
ef70a1d29e
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue