Fix exporting the dev jar path in a projects classpath. (#1397)

This commit is contained in:
modmuss
2025-10-22 21:28:57 +01:00
committed by GitHub
parent 09a4831f25
commit 2a47c835d1
3 changed files with 9 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ public abstract class ModSettings implements Named {
if (projectPath.equals(getProject().getPath())) {
// Shortcut for source sets in our own project.
SourceSetReference ref = new SourceSetReference(SourceSetHelper.getSourceSetByName(sourceSetName, getProject()), getProject());
List<File> classpath = SourceSetHelper.getClasspath(ref);
List<File> classpath = SourceSetHelper.getClasspath(ref, false);
getModFiles().from(classpath);
return;
}