diff options
author | syeyoung <cyong06@naver.com> | 2021-03-06 13:01:03 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-03-06 13:01:03 +0900 |
commit | ccdcb508b1b7b5fcc212efc39466434631118e87 (patch) | |
tree | f09e4fb0db49a10a1f91757c0432a908e6f89a6d /src/main/java/kr/syeyoung/dungeonsguide/party | |
parent | d07cfe08841302ad1ce1e29902d06c4c439a589f (diff) | |
download | Skyblock-Dungeons-Guide-ccdcb508b1b7b5fcc212efc39466434631118e87.tar.gz Skyblock-Dungeons-Guide-ccdcb508b1b7b5fcc212efc39466434631118e87.tar.bz2 Skyblock-Dungeons-Guide-ccdcb508b1b7b5fcc212efc39466434631118e87.zip |
UHH why would you troll
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/party')
-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")) { |