fix hero in team
parent
7ab0a3642a
commit
400a23e82f
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue