mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-08 23:19:14 +08:00
Fix textMapId field changed issue
This commit is contained in:
parent
867bdd1d00
commit
fb1a332f2c
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user