diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-04 12:41:25 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-04 12:41:25 +0200 |
commit | 0e8452bc45985ae552d8e3ca847d9a24d3dc24c2 (patch) | |
tree | 86fe337308d6f48b05b6a34ab75eb226db3787f7 | |
parent | 27ca631ac727377f0514954dd179ef145a8feba4 (diff) | |
download | skyhanni-0e8452bc45985ae552d8e3ca847d9a24d3dc24c2.tar.gz skyhanni-0e8452bc45985ae552d8e3ca847d9a24d3dc24c2.tar.bz2 skyhanni-0e8452bc45985ae552d8e3ca847d9a24d3dc24c2.zip |
removed debug
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt index 21f76998c..126487247 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt @@ -17,51 +17,42 @@ class PartyAPI { "§eYou have joined §r(?<name>.*)'s §r§eparty!".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.add(name) - println("partyMembers: $partyMembers") } "(?<name>.*) §r§ejoined the party.".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.add(name) - println("partyMembers: $partyMembers") } "§eYou'll be partying with: §r(?<names>.*)".toPattern().matchMatcher(message) { for (name in group("names").split(", ")) { partyMembers.add(name.cleanPlayerName()) } - println("partyMembers: $partyMembers") } // one member got removed "(?<name>.*) §r§ehas left the party.".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.remove(name) - println("partyMembers: $partyMembers") } "(?<name>.*) §r§ehas been removed from the party.".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.remove(name) - println("partyMembers: $partyMembers") } "(?<name>.*) neuberddo§r§e because they were offline.".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.remove(name) - println("partyMembers: $partyMembers") } // party disbanded ".* §r§ehas disbanded the party!".toPattern().matchMatcher(message) { partyMembers.clear() - println("partyMembers: $partyMembers") } "§eYou have been kicked from the party by §r.* §r§e".toPattern().matchMatcher(message) { partyMembers.clear() - println("partyMembers: $partyMembers") } if (message == "§eYou left the party." || message == "§cThe party was disbanded because all invites expired and the party was empty." ) { partyMembers.clear() - println("partyMembers: $partyMembers") } } } |