Fix another locked file, only a minor one this time
This commit is contained in:
		
							parent
							
								
									8827983287
								
							
						
					
					
						commit
						a6507ef7a1
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -62,7 +62,9 @@ public class MinecraftProvider extends DependencyProvider { | |||
| 		initFiles(project); | ||||
| 
 | ||||
| 		downloadMcJson(); | ||||
| 		versionInfo = gson.fromJson(new FileReader(MINECRAFT_JSON), MinecraftVersionInfo.class); | ||||
| 		FileReader reader = new FileReader(MINECRAFT_JSON); | ||||
| 		versionInfo = gson.fromJson(reader, MinecraftVersionInfo.class); | ||||
| 		reader.close(); | ||||
| 
 | ||||
| 		// Add Loom as an annotation processor | ||||
|         addDependency(project.files(this.getClass().getProtectionDomain().getCodeSource().getLocation()), project, "compileOnly"); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue