猎妖英雄血量更新bug
parent
25ff3772e9
commit
7a3d99580c
|
@ -138,11 +138,11 @@ public class EndConfirmExpeditionBattleRequestHandler extends BaseHandler<Expedi
|
|||
if (hero == null&&herotemp==null) {
|
||||
continue;
|
||||
}
|
||||
if(null==hero)
|
||||
hero=herotemp;
|
||||
user.getExpeditionManager().getHeroHPWithChange().put(hero.getId(), 0d);
|
||||
ids.add(hero.getId());
|
||||
}
|
||||
|
||||
|
||||
//出队伍
|
||||
user.getTeamPosManager().updateTeamPosByTeamId(1001,new LinkedList<>());
|
||||
|
||||
|
|
|
@ -136,6 +136,9 @@ public class EndExpeditionBattleRequest extends BaseHandler<Expedition.EndExpedi
|
|||
if (hero == null&&herotemp==null) {
|
||||
continue;
|
||||
}
|
||||
if(hero==null){
|
||||
hero=herotemp;
|
||||
}
|
||||
user.getExpeditionManager().getHeroHPWithChange().put(hero.getId(), 0d);
|
||||
ids.add(hero.getId());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue