英雄信息报错兼容
parent
765ede1ef7
commit
afee7ddce0
|
@ -196,7 +196,13 @@ public class CrossServiceLogic {
|
|||
arenaOfHero.setJewelInfo(new HashSet<>(hero.getJewelInfo()));
|
||||
arenaOfHero.setCreateTime(hero.getCreateType());
|
||||
arenaOfHero.setChangeId(hero.getChangeId());
|
||||
Map<Integer, Long> attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, GlobalsDef.WORLD_TEAM_ARENA_DEFENSE);
|
||||
Map<Integer, Long> attribute = new HashMap<>();
|
||||
try {
|
||||
attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, GlobalsDef.WORLD_TEAM_ARENA_DEFENSE);
|
||||
}catch (Exception e){
|
||||
LOGGER.error("英雄熟悉报错:{}",e.getMessage());
|
||||
attribute = new HashMap<>();
|
||||
}
|
||||
arenaOfHero.setAttributeMap(attribute);
|
||||
return arenaOfHero;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue