Janrupf / mod-director

Automated mod downloading
https://www.curseforge.com/minecraft/mc-mods/moddirector
MIT License
13 stars 13 forks source link

Injected core mods not added to classpath #4

Closed Janrupf closed 4 years ago

Janrupf commented 4 years ago

Coremods which are being injected via mod-director are not added to the launch classpath, causing forge to not find the loading plugin class.

Coremod Plugin: Unable to class load the plugin futurecommands.asm.Plugin
java.lang.ClassNotFoundException: futurecommands.asm.Plugin
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:460)
    at net.jan.moddirector.launchwrapper.forge.ForgeLateLoader.injectCorePlugin(ForgeLateLoader.java:351)
    at net.jan.moddirector.launchwrapper.forge.ForgeLateLoader.handle(ForgeLateLoader.java:241)
    at net.jan.moddirector.launchwrapper.forge.ForgeLateLoader$$Lambda$34/707161353.accept(Unknown Source)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080)
    at net.jan.moddirector.launchwrapper.forge.ForgeLateLoader.execute(ForgeLateLoader.java:67)
    at net.jan.moddirector.launchwrapper.ModDirectorTweaker.injectIntoClassLoader(ModDirectorTweaker.java:49)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)