aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide
diff options
context:
space:
mode:
authorsyeyoung <cyougn06@naver.com>2022-01-12 14:45:59 +0900
committersyeyoung <cyougn06@naver.com>2022-01-12 14:45:59 +0900
commit4cc2746d8c26dc9cf2b9cccdc7aaa51ceaa8c07c (patch)
treecde60328d9ac57302c0a84afc2802848f7c5b978 /src/main/java/kr/syeyoung/dungeonsguide
parent2948cbdc1863d53438704b2497ce99abc754e3ea (diff)
downloadSkyblock-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/main/java/kr/syeyoung/dungeonsguide')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java4
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();