Update AuthlibInjectorDownloader.java
This commit is contained in:
parent
d6aec5b3c4
commit
f8b6e66f9c
|
@ -93,7 +93,7 @@ public class AuthlibInjectorDownloader implements AuthlibInjectorArtifactProvide
|
|||
}
|
||||
|
||||
try {
|
||||
new FileDownloadTask(new URL(downloadProvider.get().injectURL(latest.downloadUrl)), artifactLocation.toFile(),
|
||||
new FileDownloadTask(downloadProvider.get().injectURLWithCandidates(latest.downloadUrl), artifactLocation.toFile(),
|
||||
Optional.ofNullable(latest.checksums.get("sha256"))
|
||||
.map(checksum -> new FileDownloadTask.IntegrityCheck("SHA-256", checksum))
|
||||
.orElse(null))
|
||||
|
|
Loading…
Reference in New Issue