修改编队

lvxinran 2021-08-13 01:38:11 +08:00
parent fc987e03ae
commit 265392949e
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ public class FightUtil {
public static CommonProto.FightTeamInfo makeCrossPersonData(ArenaOfUser arenaOfUser,int teamId){
List<CommonProto.FightUnitInfo> heroFightInfos = new ArrayList<>();
ArenaOfHeroManager heroManager = arenaOfUser.getHeroManager();
List<TeamPosHeroInfo> teamPosHeroInfos = heroManager.getTeams().get(GlobalsDef.WORLD_TEAM_ARENA_DEFENSE);
List<TeamPosHeroInfo> teamPosHeroInfos = heroManager.getTeams().get(teamId);
for (TeamPosHeroInfo teamPosHeroInfo : teamPosHeroInfos) {
ArenaOfHero hero = heroManager.getHeros().get(teamPosHeroInfo.getHeroId());
if (hero == null) {