fix JAR remapping

dev/0.11
asie 2018-12-31 14:37:47 +01:00
parent e038abcb8e
commit 32f3d924b0
1 changed files with 2 additions and 2 deletions

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;