aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt10
1 files changed, 7 insertions, 3 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 62d842cba..3d9835910 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -66,9 +66,9 @@ class ChatFilter {
message.matchRegex("§aFriend > §r(.*) §r§e(joined|left).") -> {
true
}
+
else -> false
}
-
}
private fun uselessNotification(message: String): Boolean {
@@ -225,7 +225,9 @@ class ChatFilter {
//Bank
"§8Depositing coins...",
- "§8Withdrawing coins..." -> true
+ "§8Withdrawing coins...",
+ -> true
+
else -> false
}
@@ -296,7 +298,9 @@ class ChatFilter {
"",
"§f",
- "§c" -> true
+ "§c",
+ -> true
+
else -> false
}
}