助战兼容,报错修改

back_recharge
duhui 2021-09-17 14:28:39 +08:00
parent ff3f04af63
commit 613a724623
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class SevenWorldFightHandler implements IFightEventProcesor {
if (hero == null) {
// 四灵试炼,助战
if (FourChallengeLogic.isFourChallengeTeam(teamId)){
HelpHero helpHero = HelpHeroLogic.getHelpHero(user.getId(), teamPosHeroInfo.getHeroId());
HelpHero helpHero = HelpHeroLogic.getHelpHeroByHeroId(user.getId(), teamPosHeroInfo.getHeroId());
if (helpHero == null){
continue;
}