fix JAR remapping

This commit is contained in:
asie 2018-12-31 14:37:47 +01:00
parent e038abcb8e
commit 32f3d924b0

View file

@ -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;