判断顺序修改

back_recharge
lvxinran 2021-08-14 18:01:34 +08:00
parent f7cfb10a8e
commit c1a1219ff2
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,6 @@ public class Cmd_fixsj extends GmAbstract {
continue;
}
Map<Integer, Integer> map = deleteMap.get(entry.getKey());
allDelId.add(hero.getId());
for(Map.Entry<Integer, List<TeamPosHeroInfo>> teamPosHeroInfo:user.getTeamPosManager().getTeamPosForHero().entrySet()){
List<TeamPosHeroInfo> value = teamPosHeroInfo.getValue();
for(TeamPosHeroInfo info:value){
@ -79,6 +78,7 @@ public class Cmd_fixsj extends GmAbstract {
}
}
}
allDelId.add(hero.getId());
map.put(hero.getTemplateId(),map.getOrDefault(hero.getTemplateId(),0)+1);
}
for(String str:allDelId){