aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/party
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-07-12 00:04:29 +0900
committersyeyoung <cyong06@naver.com>2021-07-12 00:04:29 +0900
commit0508914bfe927cdeb8efd148e99e5290eb01fe51 (patch)
treefc6ec6c5c2cd3774cb3f990a027921a3ec188b44 /src/main/java/kr/syeyoung/dungeonsguide/party
parentf8ad8cce99560e8991ceca7a0937e4a144ed0937 (diff)
downloadSkyblock-Dungeons-Guide-0508914bfe927cdeb8efd148e99e5290eb01fe51.tar.gz
Skyblock-Dungeons-Guide-0508914bfe927cdeb8efd148e99e5290eb01fe51.tar.bz2
Skyblock-Dungeons-Guide-0508914bfe927cdeb8efd148e99e5290eb01fe51.zip
better cosmetics
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/party')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java2
1 files changed, 1 insertions, 1 deletions
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();
}