BYAML : Support upper case boolean values when converting yaml back
This commit is contained in:
parent
ad98ec7db9
commit
66749710ce
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user