穿戴宝器修改
parent
ef04e7f413
commit
558c784472
|
@ -1813,7 +1813,7 @@ public class HeroLogic{
|
|||
|
||||
private void wearJewel(Hero hero,EquipManager equipManager,String equipId)throws Exception{
|
||||
Jewel equip =(Jewel)equipManager.getEquipMap().get(equipId);
|
||||
if( null == equip || null == hero ||hero.getJewelInfo().contains(equipId)){
|
||||
if( null == equip || null == hero ){
|
||||
throw new ErrorCodeException(ErrorCode.HERO_EQUIP_ERR);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue