mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Fix case where it wont try to download file.
This commit is contained in:
@@ -100,6 +100,11 @@ public class HashedDownloadUtil {
|
||||
|
||||
@Nullable
|
||||
private static String getSha1(File to, Logger logger) {
|
||||
if (!to.exists()) {
|
||||
delete(to);
|
||||
return null;
|
||||
}
|
||||
|
||||
File sha1File = getSha1File(to);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user