fix: 修复点击装备栏卡死的bug

This commit is contained in:
coderzlh 2023-09-26 19:48:45 +08:00
parent c242018ee8
commit 5f324c0555

View File

@ -67,7 +67,7 @@ export function getNowStatus(nowEquip?: Equip, onCol: boolean = false) {
{toShow.map(v => {
let status: string;
if (v === 'lv') status = core.getLvName() ?? '';
else status = core.plugin.getHeroStatusOn(v)?.toString();
else status = core.plugin.hero.getHeroStatusOn(v)?.toString();
let add = 0;
if (has(nowEquip)) {