From 8929267b20a84c691b4fcf701447df562c3bf713 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 24 Sep 2013 07:33:11 -0400 Subject: [PATCH] Herpaderp. Make addURL accessible. *sigh* --- fml/common/cpw/mods/fml/relauncher/CoreModManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fml/common/cpw/mods/fml/relauncher/CoreModManager.java b/fml/common/cpw/mods/fml/relauncher/CoreModManager.java index 7fc9adde7..cc07bb79f 100644 --- a/fml/common/cpw/mods/fml/relauncher/CoreModManager.java +++ b/fml/common/cpw/mods/fml/relauncher/CoreModManager.java @@ -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);