aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2022-05-06 22:37:31 +0900
committersyeyoung <cyoung06@naver.com>2022-05-06 22:37:31 +0900
commit0aa43821fdecf69c9548db1afa8ff9b5e1015c5b (patch)
treeae71ce4d1e499d9a25927b62884d50c8d6272bff /src/main
parentdbe5e528730287153e51a1c38cca6ec12bdbbc78 (diff)
downloadSkyblock-Dungeons-Guide-0aa43821fdecf69c9548db1afa8ff9b5e1015c5b.tar.gz
Skyblock-Dungeons-Guide-0aa43821fdecf69c9548db1afa8ff9b5e1015c5b.tar.bz2
Skyblock-Dungeons-Guide-0aa43821fdecf69c9548db1afa8ff9b5e1015c5b.zip
- Add party kick message to party status detection
- Fix You are not in a party not getting detected correctly.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/chat/PartyManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/chat/PartyManager.java b/src/main/java/kr/syeyoung/dungeonsguide/chat/PartyManager.java
index 27ec6638..3053c74c 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/chat/PartyManager.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/chat/PartyManager.java
@@ -70,7 +70,8 @@ public class PartyManager implements StompMessageHandler {
|| str.equals("§cYou are not in a party and were moved to the ALL channel.§r")
|| str.startsWith("§cThe party was disbanded")
|| str.endsWith("§ehas disbanded the party!§r")
- || str.endsWith("§cYou are not in a party")) {
+ || str.startsWith("§cYou are not in a party")
+ || str.startsWith("§eYou have been kicked from the party by ")) {
leaveParty();
for (Consumer<PartyContext> partyContextConsumer : partyBuiltCallback) {