试炼游戏判空修改
parent
aad4c60747
commit
717088c994
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue