mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix for overpicky filename parser
This commit is contained in:
parent
ea8b0d601f
commit
47e7de8287
@ -31,10 +31,8 @@ namespace Compression.BSA
|
||||
var str = names[i].ReadStringTerm(bsa.HeaderType);
|
||||
data = data.Slice(index + 1);
|
||||
}
|
||||
if (data.Length > 0)
|
||||
{
|
||||
throw new InvalidDataException("File name block did not parse all of its data");
|
||||
}
|
||||
// Data doesn't seem to need to be fully consumed.
|
||||
// Official BSAs have overflow of zeros
|
||||
return names;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user