mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
🍱 更新1.3map资源&🐛 别名缺失导致无法查询
This commit is contained in:
parent
f035289d87
commit
53b0e51329
4 changed files with 269 additions and 273 deletions
|
|
@ -62,6 +62,10 @@ export const aliasToName = _alias => {
|
|||
if (id === _alias) return id;
|
||||
if (data.includes(_alias)) return id;
|
||||
}
|
||||
// 判断PartnerId2SpriteId是否有对应的name
|
||||
for (const [_, data] of Object.entries(PartnerId2SpriteId)) {
|
||||
if (data['name'] === _alias) return data['name'];
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue