From afc0c5bb720b57ea8f278cf2a432c37137821d00 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Wed, 7 Sep 2022 09:34:10 +0200 Subject: fixed regex --- src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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 -- cgit