Don't try to extract folders

This commit is contained in:
Timothy Baldridge 2020-09-12 15:07:34 -06:00
parent efef8a2944
commit e1adcb761e

View File

@ -83,7 +83,7 @@ namespace Wabbajack.VirtualFileSystem
{
var entry = _archive.GetEntry(index);
var path = (RelativePath)entry.FileName;
if (!_shouldExtract(path))
if (entry.IsFolder || !_shouldExtract(path))
{
outStream = null;
return 0;