1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Fix importing KCL for mario odyssey without a preset used

This commit is contained in:
KillzXGaming 2020-02-16 12:50:04 -05:00
parent d0b6d132c7
commit f7ad889d14

View File

@ -234,12 +234,14 @@ namespace FirstPlugin
writer.Write(data); writer.Write(data);
} }
if (AttributeByml != null) SaveAttributeByml();
SaveAttributeByml();
} }
private void SaveAttributeByml(bool UpdateArchive = false) private void SaveAttributeByml(bool UpdateArchive = false)
{ {
if (AttributeByml == null || AttributeByml.RootNode == null)
return;
string byml = $"{Path.GetFileNameWithoutExtension(Text)}Attribute.byml"; string byml = $"{Path.GetFileNameWithoutExtension(Text)}Attribute.byml";
if (IFileInfo.ArchiveParent != null) if (IFileInfo.ArchiveParent != null)
{ {