Close jar when no fabric-installer.json found
This commit is contained in:
		
							parent
							
								
									4c625b45bc
								
							
						
					
					
						commit
						8d326da8be
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -138,6 +138,7 @@ public class ModProcessor { | |||
| 				entry = jarFile.getEntry("fabric-installer.json"); | ||||
| 				priority = 1; | ||||
| 				if (entry == null) { | ||||
| 					jarFile.close(); | ||||
| 					return; | ||||
| 				} | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue