mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
And use the parent that's actually going to be valid. *sigh*
This commit is contained in:
1 parent
70cffe6982
commit
a4de22c1ad
1 file changed
+1
-1
@@ -246,7 +246,7 @@ public class CoreModManager
|
||||
ADDURL = URLClassLoader.class.getDeclaredMethod("addURL", URL.class);
|
||||
ADDURL.setAccessible(true);
|
||||
}
|
||||
ADDURL.invoke(classLoader.getParent(), coreMod.toURI().toURL());
|
||||
ADDURL.invoke(classLoader.getClass().getClassLoader(), coreMod.toURI().toURL());
|
||||
CoreModManager.tweaker.injectCascadingTweak(cascadedTweaker);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in new issue
Block a user