1
0
mirror of synced 2025-01-19 01:14:08 +01:00

BYAML : Support upper case boolean values when converting yaml back

This commit is contained in:
KillzXGaming 2020-12-12 12:35:36 -05:00
parent ad98ec7db9
commit 66749710ce

View File

@ -158,9 +158,9 @@ namespace FirstPlugin
if (value == "null")
return null;
else if (value == "true")
else if (value == "true" || value == "True")
return true;
else if (value == "false")
else if (value == "false" || value == "False")
return false;
else if (tag == "!u")
return UInt32.Parse(value, CultureInfo.InvariantCulture);