新英雄报错

back_recharge
xuexinpeng 2023-05-06 16:33:07 +08:00
parent 068bc814eb
commit bd54147562
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ public class SituationLogic {
if(teamPosHeroInfos==null||teamPosHeroInfos.isEmpty()){ if(teamPosHeroInfos==null||teamPosHeroInfos.isEmpty()){
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE); throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
} }
int[] heroType = new int[5]; int[] heroType = new int[6];
teamPosHeroInfos.forEach(hero->{ teamPosHeroInfos.forEach(hero->{
Hero _hero = user.getHeroManager().getHero(hero.getHeroId()); Hero _hero = user.getHeroManager().getHero(hero.getHeroId());
int profession = _hero.getPropertyId(); int profession = _hero.getPropertyId();