mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 04:23:09 +00:00
Add check for null external data
This commit is contained in:
parent
9ca9703a23
commit
a506fb3a74
1 changed files with 2 additions and 0 deletions
|
@ -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++);
|
||||
|
|
Loading…
Reference in a new issue