注释删除

master_otnew
PC-202302260912\Administrator 2023-10-23 13:57:17 +08:00
parent ddf2daacc7
commit 7b16960002
1 changed files with 0 additions and 11 deletions

View File

@ -1070,17 +1070,6 @@ public class HeroLogic {
public void saveTeamPos(ISession iSession, int teamId, List<CommonProto.TeamHeroInfo> heroIds) throws Exception {
User user = UserManager.getUser(iSession.getUid());
HeroManager heroManager = user.getHeroManager();
///避免玩家上阵神 魔职业英雄
// for (CommonProto.TeamHeroInfo teamHeroInfo : heroIds) {
// Hero hero = heroManager.getHero(teamHeroInfo.getHeroId());
// if (hero == null){
// continue;
// }
// if (hero.getPropertyId()>4){
// LOGGER.error("英雄{}未选择职业",hero.getTemplateId());
// throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
// }
// }
Set<Integer> set = new HashSet<>();
// 大闹天宫
if (teamId == TeamEnum.EXPEDITION_TEAM.getTeamId()) {