diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java index 19033dbad..6274b957c 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/map/MapLogic.java @@ -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); } }