mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 20:22:28 +00:00
Fix stupid derp is stupid. Closes #275 and means sp614x can do his thing
This commit is contained in:
1 parent
4406d1e171
commit
779139b3ca
1 file changed
+2
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user