mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-29 18:53:25 +08:00
fix: 修复点击装备栏卡死的bug
This commit is contained in:
parent
c242018ee8
commit
5f324c0555
@ -67,7 +67,7 @@ export function getNowStatus(nowEquip?: Equip, onCol: boolean = false) {
|
|||||||
{toShow.map(v => {
|
{toShow.map(v => {
|
||||||
let status: string;
|
let status: string;
|
||||||
if (v === 'lv') status = core.getLvName() ?? '';
|
if (v === 'lv') status = core.getLvName() ?? '';
|
||||||
else status = core.plugin.getHeroStatusOn(v)?.toString();
|
else status = core.plugin.hero.getHeroStatusOn(v)?.toString();
|
||||||
|
|
||||||
let add = 0;
|
let add = 0;
|
||||||
if (has(nowEquip)) {
|
if (has(nowEquip)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user