fabric loader descriptors support
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user