throw an error if a jar is missing
This commit is contained in:
		
							parent
							
								
									69f15e870c
								
							
						
					
					
						commit
						1893966038
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -90,6 +90,10 @@ public class ModRemapper { | |||
| 		outputConsumer.finish(); | ||||
| 		remapper.finish(); | ||||
| 
 | ||||
| 		if(!deobfJar.exists() || !modJar.exists()){ | ||||
| 			throw new RuntimeException("Failed to remap jar"); | ||||
| 		} | ||||
| 
 | ||||
| 		//Add the deobf jar to be uploaded to maven | ||||
| 		project.getArtifacts().add("archives", deobfJar); | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue