From 4cc2746d8c26dc9cf2b9cccdc7aaa51ceaa8c07c Mon Sep 17 00:00:00 2001 From: syeyoung Date: Wed, 12 Jan 2022 14:45:59 +0900 Subject: - Fix false being set to empty in data collection --- src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java index ab5e2950..bb727971 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java @@ -411,8 +411,8 @@ public class MapProcessor { try { String target = StaticResourceCache.INSTANCE.getResource(StaticResourceCache.DATA_COLLECTION).get().getValue(); - if (FeatureRegistry.ETC_COLLECT_SCORE.isEnabled() && !target.contains("falsefalse")) { - DungeonsGuide.getDungeonsGuide().getStompConnection().send(new StompPayload().payload(payload.toString().replace("false", "")).header("destination", target.trim())); + if (FeatureRegistry.ETC_COLLECT_SCORE.isEnabled() && !target.contains("falsefalsefalsefalse")) { + DungeonsGuide.getDungeonsGuide().getStompConnection().send(new StompPayload().payload(payload.toString()).header("destination", target.replace("false", "").trim())); } } catch (Throwable e) { e.printStackTrace(); -- cgit