Herpaderp. Make addURL accessible. *sigh*

This commit is contained in:
Christian 2013-09-24 07:33:11 -04:00
parent 48c92084da
commit 8929267b20

View file

@ -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);