Fix importing KCL for mario odyssey without a preset used
This commit is contained in:
parent
d0b6d132c7
commit
f7ad889d14
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user