新英雄报错
parent
068bc814eb
commit
bd54147562
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue