装备:卸下宝石bug
This commit is contained in:
@@ -821,7 +821,7 @@ export class EquipHandler {
|
||||
let equip = await EquipModel.getEquip(eid);
|
||||
let oldJewelCount = equip.holes.filter(cur => cur.jewel > 0).length;
|
||||
let index = findIndex(equip.holes, { id });
|
||||
if (index > 0)
|
||||
if (index < 0)
|
||||
return resResult(STATUS.EQUIP_HOLE_NOT_FIND);
|
||||
let jewel = equip.holes[index].jewel;
|
||||
if (!jewel)
|
||||
|
||||
Reference in New Issue
Block a user