aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-09-07 09:34:10 +0200
committerLorenz <lo.scherf@gmail.com>2022-09-07 09:34:10 +0200
commitafc0c5bb720b57ea8f278cf2a432c37137821d00 (patch)
treec9aa0a33308862572ef30dc4eabbb79df558cab3 /src/main/java/at/hannibal2/skyhanni/features
parent26eda0660aa41994f39d4fd10d2d7c010b309cf9 (diff)
downloadskyhanni-afc0c5bb720b57ea8f278cf2a432c37137821d00.tar.gz
skyhanni-afc0c5bb720b57ea8f278cf2a432c37137821d00.tar.bz2
skyhanni-afc0c5bb720b57ea8f278cf2a432c37137821d00.zip
fixed regex
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt2
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 412114c58..62d842cba 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -72,7 +72,7 @@ class ChatFilter {
}
private fun uselessNotification(message: String): Boolean {
- if (message.matchRegex("§aYou tipped (\\d) (player|players)!")) return true
+ if (message.matchRegex("§aYou tipped (\\d+) (player|players)!")) return true
return when (message) {
"§eYour previous §r§6Plasmaflux Power Orb §r§ewas removed!" -> true