From 717088c994fbd83b7f8a69803f025709606cf797 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Wed, 17 Jun 2020 19:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E7=82=BC=E6=B8=B8=E6=88=8F=E5=88=A4?= =?UTF-8?q?=E7=A9=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ljsd/jieling/handler/map/MapLogic.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } }