Minor bug fixes.

This commit is contained in:
CloneTrooper1019
2019-11-04 15:25:22 -06:00
parent 0f4e0d50c6
commit bd1fa5784c
3 changed files with 12 additions and 3 deletions

View File

@ -49,7 +49,10 @@ namespace RobloxFiles.XmlFormat
{
string propType = prop.XmlToken;
if (prop.XmlToken.Length == 0)
if (propType == null)
propType = "";
if (propType.Length == 0)
{
propType = GetEnumName(prop.Type);