File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/org/relativitymc/neoloom/neoforge Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ public class NFRTMinecraftLibraryProvider extends MinecraftLibraryProvider {
7272 private final boolean isFancyML ;
7373
7474 private boolean dependencyResolved = false ;
75+ private ExternalModuleDependency fmlDependency ;
7576
7677 public NFRTMinecraftLibraryProvider (NFRTMergedMinecraftProvider minecraftProvider , Project project ) {
7778 super (minecraftProvider , project );
@@ -103,6 +104,7 @@ public void ensureResolved() {
103104 externalModuleDependency .setTransitive (false );
104105
105106 if (isFML (library .group (), library .name ())) {
107+ this .fmlDependency = externalModuleDependency ;
106108 continue ; // FML applied as minecraft jar
107109 }
108110
@@ -133,6 +135,7 @@ public List<Configuration> getNFRTDeps() {
133135 list .add (this .project .getConfigurations ().getByName (LoomGradleExtension .get (this .project ).disableObfuscation () ? Constants .Configurations .LOCAL_RUNTIME : "modLocalRuntime" ));
134136 list .add (this .project .getConfigurations ().detachedConfiguration (
135137 this .forgeUserdev ,
138+ this .fmlDependency ,
136139 this .project .getDependencyFactory ().create (this .forgeUserdevConfiguration .mcpNotation ()),
137140 this .project .getDependencyFactory ().create (this .forgeUserdevConfiguration .binPatcherNotation ()),
138141 this .project .getDependencyFactory ().create (this .forgeUserdevConfiguration .universalJarNotation ()),
You can’t perform that action at this time.
0 commit comments