试炼游戏判空修改

back_recharge
lvxinran 2020-06-17 19:09:04 +08:00
parent aad4c60747
commit 717088c994
1 changed files with 3 additions and 1 deletions

View File

@ -3272,7 +3272,9 @@ public class MapLogic {
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
}
MapInfoProto.MapGameUpdateResponse response = mapGame.updateGame(user, index);
if(response==null)
if(response==null){
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
}
MessageUtil.sendMessage(session,1,messageType.getNumber(),response,true);
}
}