Herpaderp. Make addURL accessible. *sigh*
This commit is contained in:
parent
48c92084da
commit
8929267b20
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue