diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-11-12 19:14:53 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-11-12 19:14:53 +0100 |
commit | db3c0c3b85fd746be0c0e3e0a0cb8d9d21ba0229 (patch) | |
tree | 10c7676ecae72b6fc8bdb5afe3ed81d8cbc33e75 | |
parent | 4cd48075604433a922bb79413f82a12209dd195e (diff) | |
download | skyhanni-db3c0c3b85fd746be0c0e3e0a0cb8d9d21ba0229.tar.gz skyhanni-db3c0c3b85fd746be0c0e3e0a0cb8d9d21ba0229.tar.bz2 skyhanni-db3c0c3b85fd746be0c0e3e0a0cb8d9d21ba0229.zip |
fixed kill combo formatting
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index dc8edcaf6..853c5bbe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### Fixes + Fixed a bug that caused the right blaze slayer dagger highlight to show wrong values. ++ Fixed kill combo message filter format ## Version 0.12.1 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 7421bd10a..cd1581d5c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt @@ -248,7 +248,7 @@ class ChatFilter { private fun killCombo(message: String): Boolean { //§a§l+5 Kill Combo §r§8+§r§b3% §r§b? Magic Find return when { - message.matchRegex("§.§l\\+(.*) Kill Combo §r§8\\+(.*)") -> true + message.matchRegex("§.§l\\+(.*) Kill Combo (.*)") -> true message == "§6§l+50 Kill Combo" -> true message.matchRegex("§cYour Kill Combo has expired! You reached a (.*) Kill Combo!") -> true else -> false |