From 0e8452bc45985ae552d8e3ca847d9a24d3dc24c2 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 4 Jun 2023 12:41:25 +0200 Subject: removed debug --- src/main/java/at/hannibal2/skyhanni/data/PartyAPI.kt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') 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(?.*)'s §r§eparty!".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.add(name) - println("partyMembers: $partyMembers") } "(?.*) §r§ejoined the party.".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.add(name) - println("partyMembers: $partyMembers") } "§eYou'll be partying with: §r(?.*)".toPattern().matchMatcher(message) { for (name in group("names").split(", ")) { partyMembers.add(name.cleanPlayerName()) } - println("partyMembers: $partyMembers") } // one member got removed "(?.*) §r§ehas left the party.".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.remove(name) - println("partyMembers: $partyMembers") } "(?.*) §r§ehas been removed from the party.".toPattern().matchMatcher(message) { val name = group("name").cleanPlayerName() partyMembers.remove(name) - println("partyMembers: $partyMembers") } "(?.*) 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") } } } -- cgit