Fix textMapId field changed issue

This commit is contained in:
2022-07-27 20:38:48 +08:00
parent 867bdd1d00
commit fb1a332f2c

View File

@ -46,7 +46,7 @@ namespace GrasscutterTools.Game
ManualTextMap = new Dictionary<string, string>(); ManualTextMap = new Dictionary<string, string>();
while (reader.Read()) while (reader.Read())
{ {
if (reader.TokenType == JsonToken.PropertyName && (string)reader.Value == "TextMapId") if (reader.TokenType == JsonToken.PropertyName && ((string)reader.Value == "TextMapId" || (string)reader.Value == "textMapId"))
{ {
var textMapId = reader.ReadAsString(); var textMapId = reader.ReadAsString();
reader.Read(); reader.Read();