aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-14 10:21:34 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-14 10:21:34 +0200
commitc0bdbf7305d30012bf37f229e60a513cb5ee45a0 (patch)
tree9def0411c0422f6a2027adec32139271c7a880cd
parent3b93e044d57a162ef1f8df4399eb2bff21d0a8b1 (diff)
downloadskyhanni-c0bdbf7305d30012bf37f229e60a513cb5ee45a0.tar.gz
skyhanni-c0bdbf7305d30012bf37f229e60a513cb5ee45a0.tar.bz2
skyhanni-c0bdbf7305d30012bf37f229e60a513cb5ee45a0.zip
Fixed chat filers not applying immediately after joining the hypixel lobby.
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt2
1 files changed, 0 insertions, 2 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 e5ba401eb..cf7b32b39 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -11,8 +11,6 @@ class ChatFilter {
@SubscribeEvent
fun onChatMessage(event: LorenzChatEvent) {
- if (!LorenzUtils.onHypixel) return
-
val blockReason = block(event.message)
if (blockReason != "") {
event.blockedReason = blockReason