0.447.1.411123
This commit is contained in:
@ -107,11 +107,12 @@ namespace RobloxFiles.XmlFormat
|
||||
};
|
||||
|
||||
if (!tokenHandler.ReadProperty(prop, propNode))
|
||||
Console.WriteLine("Could not read property: " + prop.GetFullName() + '!');
|
||||
if (RobloxFile.LogErrors)
|
||||
Console.Error.WriteLine("Could not read property: " + prop.GetFullName() + '!');
|
||||
|
||||
instance.AddProperty(ref prop);
|
||||
}
|
||||
else
|
||||
else if (RobloxFile.LogErrors)
|
||||
{
|
||||
Console.WriteLine("No IXmlPropertyToken found for property type: " + propType + '!');
|
||||
}
|
||||
|
@ -94,7 +94,9 @@ namespace RobloxFiles.XmlFormat
|
||||
|
||||
if (handler == null)
|
||||
{
|
||||
Console.WriteLine("XmlDataWriter.WriteProperty: No token handler found for property type: {0}", propType);
|
||||
if (RobloxFile.LogErrors)
|
||||
Console.Error.WriteLine("XmlDataWriter.WriteProperty: No token handler found for property type: {0}", propType);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -30,6 +30,9 @@ namespace RobloxFiles.XmlFormat.PropertyTokens
|
||||
}
|
||||
catch
|
||||
{
|
||||
if (!RobloxFile.LogErrors)
|
||||
return true;
|
||||
|
||||
Console.WriteLine("ContentToken: Got illegal base64 string: {0}", data);
|
||||
}
|
||||
}
|
||||
|
@ -98,7 +98,10 @@ namespace RobloxFiles
|
||||
else if (refId != "null")
|
||||
{
|
||||
string name = refProp.GetFullName();
|
||||
Console.WriteLine("XmlRobloxFile: Could not resolve reference for {0}", name);
|
||||
|
||||
if (LogErrors)
|
||||
Console.Error.WriteLine("XmlRobloxFile: Could not resolve reference for {0}", name);
|
||||
|
||||
refProp.Value = null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user