fix: no longer validate Forge dependencies since provided checksums are wrong. Closes #913.

This commit is contained in:
huanghongxun 2021-07-31 02:10:04 +08:00
parent 331d8d1bb6
commit 9b6b3f8938

View File

@ -104,10 +104,6 @@ public class LibraryDownloadTask extends Task<Void> {
throw new LibraryDownloadException(library, t);
} else {
if (xz) unpackLibrary(jar, Files.readAllBytes(xzFile.toPath()));
if (!checksumValid(jar, library.getChecksums())) {
jar.delete();
throw new IOException("Checksum failed for " + library);
}
}
}