diff options
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/chat/PartyManager.java | 3 |
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) { |