mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Add to both the classloader and the parent
This commit is contained in:
1 parent
9bcf633e8c
commit
ef70a1d29e
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)
|
||||
|
||||
Reference in new issue
Block a user