mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 13:37:45 -05:00
fix JAR remapping
This commit is contained in:
@@ -60,8 +60,8 @@ public class ModRemapper {
|
||||
String toM = "intermediary";
|
||||
|
||||
List<File> classpathFiles = new ArrayList<>();
|
||||
// classpathFiles.addAll(project.getConfigurations().getByName(Constants.COMPILE_MODS).getFiles());
|
||||
classpathFiles.addAll(project.getConfigurations().getByName(Constants.MINECRAFT_INTERMEDIARY).getFiles());
|
||||
classpathFiles.addAll(project.getConfigurations().getByName(Constants.COMPILE_MODS_MAPPED).getFiles());
|
||||
classpathFiles.addAll(project.getConfigurations().getByName(Constants.MINECRAFT_NAMED).getFiles());
|
||||
Path[] classpath = classpathFiles.stream().map(File::toPath).toArray(Path[]::new);
|
||||
Path modJarPath = modJar.toPath();
|
||||
boolean classpathContainsModJarPath = false;
|
||||
|
||||
Reference in New Issue
Block a user