Skip to content

Commit 17be0a8

Browse files
committed
Removed debugging code
1 parent e9d28a6 commit 17be0a8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/org/mcphackers/mcp/tasks/TaskDownloadUpdate.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void doTask() throws Exception {
3838
if(!assetObj.getString("name").endsWith(".jar")) {
3939
continue;
4040
}
41-
FileUtil.downloadFile(new URL(assetObj.getString("browser_download_url")), Paths.get("update.jar"));
41+
FileUtil.downloadFile(new URL(assetObj.getString("browser_download_url")), Paths.get(MCPConfig.UPDATE_JAR));
4242
}
4343
}
4444
MCP.logger.info("Press return key to continue");
@@ -49,7 +49,6 @@ public void doTask() throws Exception {
4949
.getLocation()
5050
.toURI());
5151
if(!Files.isDirectory(jarPath)) {
52-
Files.copy(jarPath, Paths.get(MCPConfig.UPDATE_JAR));
5352
Util.runCommand(new String[] {
5453
Util.getJava(),
5554
"-jar",

0 commit comments

Comments
 (0)