From 3ae1c3467b7713d154f1c34abda61d865b74eee2 Mon Sep 17 00:00:00 2001 From: huanghongxun Date: Wed, 29 Apr 2020 20:18:43 +0800 Subject: [PATCH] fix: IllegalArgumentException --- .../java/org/jackhuang/hmcl/mod/MinecraftInstanceTask.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/mod/MinecraftInstanceTask.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/mod/MinecraftInstanceTask.java index 3a37eeb7a..17caf14cd 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/mod/MinecraftInstanceTask.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/mod/MinecraftInstanceTask.java @@ -49,9 +49,6 @@ public final class MinecraftInstanceTask extends Task { this.manifest = manifest; this.jsonFile = jsonFile; this.type = type; - - if (!zipFile.exists()) - throw new IllegalArgumentException("File " + zipFile + " does not exist. Cannot parse this modpack."); } @Override