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