1
0
mirror of synced 2024-11-12 02:00:50 +01:00

a spark of hope (#531)

This commit is contained in:
August 2022-10-17 22:18:44 +01:00 committed by GitHub
parent 4dc1bbea29
commit a9675a0fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -494,6 +494,10 @@ namespace FirstPlugin
string ID = packageId.ToString("D" + 4);
string BlockFilePath = Path.Combine(PathFolder, $"sdf-{layer}-{ID}.sdfdata");
if (!File.Exists(BlockFilePath))
{
BlockFilePath = Path.Combine(PathFolder, $"sdf_{layer}_{ID}.sdfdata");
}
bool IsFile = !Name.Contains("dummy") && decompresedSize > 5;