Quick adjustment

This commit is contained in:
KillzXGaming 2022-01-20 17:14:55 -05:00
parent b720d74360
commit e47e777267

View file

@ -845,7 +845,7 @@ namespace FirstPlugin
FileData = reader.ReadBytes((int)CompressedFileSize);
FileData = STLibraryCompression.Type_LZ4.Decompress(FileData, 0, (int)CompressedFileSize, (int)DecompressedFileSize);
}
if (Type == CompressionType.None)
else if (Type == CompressionType.None)
FileData = reader.ReadBytes((int)DecompressedFileSize);
else
FileData = reader.ReadBytes((int)CompressedFileSize);