back_recharge
wangyuan 2019-10-08 16:35:19 +08:00
parent 65d1405b13
commit 0da5001de3
1 changed files with 2 additions and 2 deletions

View File

@ -666,8 +666,8 @@ public class ArenaLogic {
public void playWithSb(ISession session,int challengeUid,int myteamId) throws Exception {
User mine = UserManager.getUser(session.getUid());
User defUser = UserManager.getUser(challengeUid);
if(!defUser.getTeamPosManager().getTeamPosForHero().containsKey(GlobalsDef.TEAM_ARENA_DEFENSE)){
MessageUtil.sendErrorResponse(session,Global.SHOW_TIPS_ERROR, MessageTypeProto.MessageType.PLAY_WITH_SB_RESPONSE_VALUE,"对方未设置竞技场防守阵容");
if(!defUser.getTeamPosManager().getTeamPosForHero().containsKey(1)){
MessageUtil.sendErrorResponse(session,Global.SHOW_TIPS_ERROR, MessageTypeProto.MessageType.PLAY_WITH_SB_RESPONSE_VALUE,"对方未设置阵容");
return;
}