From 324b413a311dfc583adf6c125330a8ececa2f135 Mon Sep 17 00:00:00 2001 From: wangyuan Date: Wed, 13 May 2020 15:27:03 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E3=80=90=E5=BC=80=E6=9C=8D=E7=8B=82?= =?UTF-8?q?=E6=AC=A2=E3=80=91=E5=AF=BB=E5=AE=9D=E6=AC=A1=E6=95=B0=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=EF=BC=8C=E4=B8=8D=E8=83=BD=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ljsd/jieling/logic/mission/MissionLoigc.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/mission/MissionLoigc.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/mission/MissionLoigc.java index 6bed8198f..dad8633be 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/mission/MissionLoigc.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/mission/MissionLoigc.java @@ -735,9 +735,10 @@ public class MissionLoigc { break; case FINISH_MISSING_ROOM: if(missionSubType[0] == 0){ - cumulationData.finishMissionTimes.values().stream().collect(Collectors.summarizingInt(x->x)); + count = (int)(cumulationData.finishMissionTimes.values().stream().collect(Collectors.summarizingInt(x->x)).getSum()); + }else{ + count = cumulationData.finishMissionTimes.get(missionSubType[0]); } - count = cumulationData.finishMissionTimes.get(missionSubType[0]); break; case REFRESH_MISSING_ROOM: count = cumulationData.refreshMrTimes;