Fix mail item name issue

This commit is contained in:
jie65535 committed 2022-10-28 22:31:46 +08:00
1 parent 97bc9d8f6a
commit 2a3100c822
2 files changed
+10 -4

No files matched your search

+2 -1
View File
@@ -60,8 +60,9 @@ namespace GrasscutterTools.Game
public int Count => Ids.Length;
public string this[int id] => IdMap.TryGetValue(id, out string name) ? name : "???";
public string this[int id] => IdMap.TryGetValue(id, out string name) ? name : EmptyName;
public static string EmptyName = "???";
//public int this[string name] => NameMap[name];
public int[] Ids { get; }