Fix stupid derp is stupid. Closes #275 and means sp614x can do his thing

This commit is contained in:
Christian 2013-08-16 16:18:50 -04:00
parent 4406d1e171
commit 779139b3ca

View file

@ -181,6 +181,7 @@ public class CoreModManager
String cascadedTweaker = mfAttributes.getValue("TweakClass");
if (cascadedTweaker != null)
{
FMLRelaunchLog.info("Loading tweaker %s from %s", cascadedTweaker, coreMod.getName());
handleCascadingTweak(coreMod, jar, cascadedTweaker, classLoader);
loadedCoremods.add(coreMod.getName());
continue;
@ -214,7 +215,7 @@ public class CoreModManager
classLoader.addURL(coreMod.toURI().toURL());
Class<? extends ITweaker> newTweakClass = (Class<? extends ITweaker>) Class.forName(cascadedTweaker, true, classLoader);
ITweaker newTweak = newTweakClass.newInstance();
CoreModManager.tweaker.injectCascadingTweak(tweaker);
CoreModManager.tweaker.injectCascadingTweak(newTweak);
}
catch (Exception e)
{