fabric loader descriptors support

This commit is contained in:
2025-01-02 18:42:19 +05:00
parent 679d89b4b0
commit 23ec6dd194
5 changed files with 41 additions and 22 deletions

View File

@@ -24,8 +24,8 @@ public static class HashHelper
if (!File.Exists(f))
return false;
if(checkHash)
return sha1 is not null && HashFileSHA1(f) == sha1;
if(checkHash && sha1 is not null)
return HashFileSHA1(f) == sha1;
return true;
}