fix hero in team

back_recharge
wangyuan 2020-04-17 10:16:11 +08:00
parent 7ab0a3642a
commit 400a23e82f
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ public class ItemLogic {
return ErrorCode.ITEM_DECOMPOSE_HERO_LOCK;
}
boolean battleArray = HeroLogic.getInstance().isBattleArray(user, heroId);
if (battleArray){
if (!battleArray){
return ErrorCode.ITEM_DECOMPOSE_HERO_TEAM;
}
SItem sItem = SItem.getsItemMap().get(hero.getTemplateId());