Fix file not found with remapper

dev/0.11
modmuss50 2016-10-12 11:08:12 +01:00
parent b43793b3fc
commit 68cd938036
No known key found for this signature in database
GPG Key ID: 203A5ED4D3E48BEA
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class ModRemapper {
classpathFiles.addAll(project.getConfigurations().getByName("compile").getFiles());
classpathFiles.addAll(project.getConfigurations().getByName(Constants.CONFIG_MC_DEPENDENCIES_CLIENT).getFiles());
classpathFiles.addAll(project.getConfigurations().getByName(Constants.CONFIG_MC_DEPENDENCIES).getFiles());
classpathFiles.add(Constants.MINECRAFT_FINAL_JAR.get(extension));
classpathFiles.add(new File(Constants.MINECRAFT_FINAL_JAR.get(extension).getAbsolutePath()));//Seems to fix it not finding it
Path[] classpath = new Path[classpathFiles.size()];
for (int i = 0; i < classpathFiles.size(); i++) {