From eb27fcef7ac26c71941c7911ebf6aa20254a2855 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Tue, 20 Jul 2021 13:35:06 +0900 Subject: Better snapping and use the new tooltips --- src/main/java/kr/syeyoung/dungeonsguide/stomp/StompPayload.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/stomp') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/stomp/StompPayload.java b/src/main/java/kr/syeyoung/dungeonsguide/stomp/StompPayload.java index 1aeedb61..80d1ea7a 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/stomp/StompPayload.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/stomp/StompPayload.java @@ -53,12 +53,14 @@ public class StompPayload { if (payload != null) sb.append(payload); sb.append((char) 0); - System.out.println("Probably sending "+ sb); + if (!sb.toString().contains("cosmetic")) + System.out.println("Probably sending "+ sb); return sb.toString(); } public static StompPayload parse(String payload) { - System.out.println("Parsing "+payload); + if (!payload.contains("cosmetic")) + System.out.println("Parsing "+payload); Scanner scanner = new Scanner(payload); StompPayload stompPayload = new StompPayload(); stompPayload.method = StompHeader.valueOf(scanner.nextLine()); -- cgit