fix JAR remapping
This commit is contained in:
		
							parent
							
								
									e038abcb8e
								
							
						
					
					
						commit
						32f3d924b0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -60,8 +60,8 @@ public class ModRemapper { | ||||||
| 		String toM = "intermediary"; | 		String toM = "intermediary"; | ||||||
| 
 | 
 | ||||||
| 		List<File> classpathFiles = new ArrayList<>(); | 		List<File> classpathFiles = new ArrayList<>(); | ||||||
| //		classpathFiles.addAll(project.getConfigurations().getByName(Constants.COMPILE_MODS).getFiles()); | 		classpathFiles.addAll(project.getConfigurations().getByName(Constants.COMPILE_MODS_MAPPED).getFiles()); | ||||||
| 		classpathFiles.addAll(project.getConfigurations().getByName(Constants.MINECRAFT_INTERMEDIARY).getFiles()); | 		classpathFiles.addAll(project.getConfigurations().getByName(Constants.MINECRAFT_NAMED).getFiles()); | ||||||
| 		Path[] classpath = classpathFiles.stream().map(File::toPath).toArray(Path[]::new); | 		Path[] classpath = classpathFiles.stream().map(File::toPath).toArray(Path[]::new); | ||||||
| 		Path modJarPath = modJar.toPath(); | 		Path modJarPath = modJar.toPath(); | ||||||
| 		boolean classpathContainsModJarPath = false; | 		boolean classpathContainsModJarPath = false; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue