mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Herpaderp. Make addURL accessible. *sigh*
This commit is contained in:
1 parent
39620f1e41
commit
70cffe6982
1 file changed
+1
@@ -244,6 +244,7 @@ public class CoreModManager
|
||||
if (ADDURL == null)
|
||||
{
|
||||
ADDURL = URLClassLoader.class.getDeclaredMethod("addURL", URL.class);
|
||||
ADDURL.setAccessible(true);
|
||||
}
|
||||
ADDURL.invoke(classLoader.getParent(), coreMod.toURI().toURL());
|
||||
CoreModManager.tweaker.injectCascadingTweak(cascadedTweaker);
|
||||
|
||||
Reference in new issue
Block a user