fix: no longer validate Forge dependencies since provided checksums are wrong. Closes #913.
This commit is contained in:
@@ -104,10 +104,6 @@ public class LibraryDownloadTask extends Task<Void> {
|
|||||||
throw new LibraryDownloadException(library, t);
|
throw new LibraryDownloadException(library, t);
|
||||||
} else {
|
} else {
|
||||||
if (xz) unpackLibrary(jar, Files.readAllBytes(xzFile.toPath()));
|
if (xz) unpackLibrary(jar, Files.readAllBytes(xzFile.toPath()));
|
||||||
if (!checksumValid(jar, library.getChecksums())) {
|
|
||||||
jar.delete();
|
|
||||||
throw new IOException("Checksum failed for " + library);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user