diff options
author | syeyoung <cyougn06@naver.com> | 2022-01-12 14:45:59 +0900 |
---|---|---|
committer | syeyoung <cyougn06@naver.com> | 2022-01-12 14:45:59 +0900 |
commit | 4cc2746d8c26dc9cf2b9cccdc7aaa51ceaa8c07c (patch) | |
tree | cde60328d9ac57302c0a84afc2802848f7c5b978 /src | |
parent | 2948cbdc1863d53438704b2497ce99abc754e3ea (diff) | |
download | Skyblock-Dungeons-Guide-4cc2746d8c26dc9cf2b9cccdc7aaa51ceaa8c07c.tar.gz Skyblock-Dungeons-Guide-4cc2746d8c26dc9cf2b9cccdc7aaa51ceaa8c07c.tar.bz2 Skyblock-Dungeons-Guide-4cc2746d8c26dc9cf2b9cccdc7aaa51ceaa8c07c.zip |
- Fix false being set to empty in data collection
Diffstat (limited to 'src')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |