Fixed issue in ArbitraryDataFile.chunkExists() due to it not checking for the metadata file.

This commit is contained in:
CalDescent 2022-01-31 21:38:51 +00:00
parent e2e87766fa
commit b198a8ea07

View File

@ -439,6 +439,11 @@ public class ArbitraryDataFile {
return chunk.exists();
}
}
if (Arrays.equals(hash, this.metadataHash)) {
if (this.metadataFile != null) {
return this.metadataFile.exists();
}
}
if (Arrays.equals(this.getHash(), hash)) {
return this.exists();
}