mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-12-16 10:32:58 +08:00
Fix mail item name issue
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user