From 0508914bfe927cdeb8efd148e99e5290eb01fe51 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Mon, 12 Jul 2021 00:04:29 +0900 Subject: better cosmetics --- src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/party') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java index 0368ecfc..feb3757a 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java @@ -395,7 +395,7 @@ public class PartyManager implements StompMessageHandler { } } else if ("/user/queue/party.broadcast".equals(stompPayload.headers().get("destination"))) { try { - Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: Message Broadcasted from player:: \n" + stompPayload.payload())); + Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("§eDungeons Guide §7:: Message Broadcasted from player:: \n" + new JSONObject(stompPayload.payload()).getString("payload"))); } catch (Exception e) { e.printStackTrace(); } -- cgit