Add check for null external data

This commit is contained in:
KillzXGaming 2022-09-08 17:03:44 -04:00
parent 9ca9703a23
commit a506fb3a74

View file

@ -1284,6 +1284,8 @@ namespace FirstPlugin
foreach (var anim in resFile.ExternalFiles)
{
if (anim.Data == null) anim.Data = new byte[0];
// group.AddNode(new ExternalFileData(Name, anim.Data) { FileFormat = file });
string Name = resFile.ExternalFileDict.GetKey(index++);