diff --git a/SabreTools.Metadata/TypeHelper.cs b/SabreTools.Metadata/TypeHelper.cs index b4c9122c..e38d0e36 100644 --- a/SabreTools.Metadata/TypeHelper.cs +++ b/SabreTools.Metadata/TypeHelper.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Reflection; using System.Xml.Serialization; using SabreTools.Data.Models; -using SabreTools.Data.Models.Metadata; namespace SabreTools.Metadata { @@ -59,7 +58,7 @@ namespace SabreTools.Metadata continue; // If the type isn't a class or doesn't implement the interface - if (!type.IsClass || !typeof(DatItem).IsAssignableFrom(type)) + if (!type.IsClass || !typeof(DatItems.DatItem).IsAssignableFrom(type)) continue; // Get the XML type name @@ -102,7 +101,7 @@ namespace SabreTools.Metadata continue; // If the type isn't a class or doesn't implement the interface - if (!type.IsClass || !typeof(DatItem).IsAssignableFrom(type)) + if (!type.IsClass || !typeof(DatItems.DatItem).IsAssignableFrom(type)) continue; // Get the XML type name