diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-07 09:34:10 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-07 09:34:10 +0200 |
commit | afc0c5bb720b57ea8f278cf2a432c37137821d00 (patch) | |
tree | c9aa0a33308862572ef30dc4eabbb79df558cab3 /src/main | |
parent | 26eda0660aa41994f39d4fd10d2d7c010b309cf9 (diff) | |
download | skyhanni-afc0c5bb720b57ea8f278cf2a432c37137821d00.tar.gz skyhanni-afc0c5bb720b57ea8f278cf2a432c37137821d00.tar.bz2 skyhanni-afc0c5bb720b57ea8f278cf2a432c37137821d00.zip |
fixed regex
Diffstat (limited to 'src/main')
-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 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 |