From e47e77726728e75d3bf071118d80cd0dbd382dee Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Thu, 20 Jan 2022 17:14:55 -0500 Subject: [PATCH] Quick adjustment --- File_Format_Library/FileFormats/Archives/GFPAK.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File_Format_Library/FileFormats/Archives/GFPAK.cs b/File_Format_Library/FileFormats/Archives/GFPAK.cs index 21aae1c9..b5fc795e 100644 --- a/File_Format_Library/FileFormats/Archives/GFPAK.cs +++ b/File_Format_Library/FileFormats/Archives/GFPAK.cs @@ -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);