fix: IllegalArgumentException
This commit is contained in:
@@ -49,9 +49,6 @@ public final class MinecraftInstanceTask<T> extends Task<Void> {
|
|||||||
this.manifest = manifest;
|
this.manifest = manifest;
|
||||||
this.jsonFile = jsonFile;
|
this.jsonFile = jsonFile;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
|
||||||
if (!zipFile.exists())
|
|
||||||
throw new IllegalArgumentException("File " + zipFile + " does not exist. Cannot parse this modpack.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user