Improvements and bug fixes

- Added some more methods to the Instance class to make instance queries
more powerful.
- Fixed a bug where comment nodes were being processed by the
XmlFileReader
This commit is contained in:
CloneTrooper1019
2019-10-06 02:18:42 -05:00
parent eea5022e41
commit 0a5bb69486
2 changed files with 49 additions and 4 deletions

View File

@ -75,6 +75,9 @@ namespace RobloxFiles.XmlFormat
foreach (XmlNode propNode in propsNode.ChildNodes)
{
if (propNode.NodeType == XmlNodeType.Comment)
continue;
string propType = propNode.Name;
XmlNode propName = propNode.Attributes.GetNamedItem("name");