aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-09-07 09:37:18 +0200
committerLorenz <lo.scherf@gmail.com>2022-09-07 09:37:18 +0200
commit5c016b2a7cf85d57698ec2e0ed73bf34cce50946 (patch)
tree88678c660ff33e91954674c378d7305403189f1a /src/main/java/at
parentafc0c5bb720b57ea8f278cf2a432c37137821d00 (diff)
downloadskyhanni-5c016b2a7cf85d57698ec2e0ed73bf34cce50946.tar.gz
skyhanni-5c016b2a7cf85d57698ec2e0ed73bf34cce50946.tar.bz2
skyhanni-5c016b2a7cf85d57698ec2e0ed73bf34cce50946.zip
code cleanup
Diffstat (limited to 'src/main/java/at')
-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
}
}