diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-30 13:44:31 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-30 13:44:31 +0200 |
commit | a8d09cf22d3538cfda18aa4e5e30693b643745e9 (patch) | |
tree | fa508a655e77faaa66dbb45f453fb7425fc16a52 /src/main/java/at/hannibal2/skyhanni | |
parent | 3f93a294beb19d417e5adc66c8403ce5fa36a315 (diff) | |
download | skyhanni-a8d09cf22d3538cfda18aa4e5e30693b643745e9.tar.gz skyhanni-a8d09cf22d3538cfda18aa4e5e30693b643745e9.tar.bz2 skyhanni-a8d09cf22d3538cfda18aa4e5e30693b643745e9.zip |
Dont auto hide You are playing on profile xy message
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt index bee625d3d..c106d5a2f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt @@ -20,7 +20,6 @@ class ChatFilter { } private fun block(message: String): String = when { - message.startsWith("§aYou are playing on profile: §e") -> "profile"//TODO move into own class lobby(message) && config.hypixelHub -> "lobby" empty(message) && config.empty -> "empty" warping(message) && config.warping -> "warping" @@ -30,6 +29,7 @@ class ChatFilter { killCombo(message) && config.killCombo -> "kill_combo" watchdogAnnouncement(message) && config.watchDog -> "watchdog" + message.startsWith("§aYou are playing on profile: §e") && config.others -> "profile"//TODO move into own class bazaarAndAHMiniMessages(message) && config.others -> "bz_ah_minis" slayer(message) && config.others -> "slayer" slayerDrop(message) && config.others -> "slayer_drop" |