diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java index 08492ae8..e3c3ff49 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java @@ -148,6 +148,9 @@ public class PartyManager implements StompMessageHandler { } else if (str.startsWith("§cYou are not currently in a party.§r")) { members.clear(); setPartyID(null); + } else if (str.startsWith("§cYou are not in a party!§r")) { + members.clear(); + setPartyID(null); } else if (str.startsWith("§eParty ") && str.contains(":")) { String playerNames = TextUtils.stripColor(str.split(":")[1]); for (String s : playerNames.split(" ")) { @@ -163,6 +166,8 @@ public class PartyManager implements StompMessageHandler { RichPresenceManager.INSTANCE.updatePresence(); } else if (str.equals("§cCouldn't find a player with that name!§r")) { canInvite = true; + } else if (str.equals("§cYou cannot invite that player since they're not online.")) { + canInvite = true; } else if (str.endsWith("§aenabled All Invite§r")) { canInvite = true; } else if (str.endsWith("§cdisabled All Invite§r")) { |