aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorLuna <me@lunya.dev>2024-10-12 02:10:08 +0200
committerGitHub <noreply@github.com>2024-10-12 11:10:08 +1100
commitee5b8b22c04e85e8eca2354b27ad979b26a4ad0f (patch)
treea09244be4b428f23ac801cb42440a5cdd70128b9 /src/main/java
parent1f35f9f0989b4338edd18248d0240d5a1309dbb7 (diff)
downloadskyhanni-ee5b8b22c04e85e8eca2354b27ad979b26a4ad0f.tar.gz
skyhanni-ee5b8b22c04e85e8eca2354b27ad979b26a4ad0f.tar.bz2
skyhanni-ee5b8b22c04e85e8eca2354b27ad979b26a4ad0f.zip
Merge pull request #2724
* Improvement: Make Breaking Power chat filter match more than just gem… * add regex test
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/PowderMiningChatFilter.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/PowderMiningChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/PowderMiningChatFilter.kt
index 624a2d0c2..61658a9de 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/PowderMiningChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/PowderMiningChatFilter.kt
@@ -62,10 +62,11 @@ object PowderMiningChatFilter {
/**
* REGEX-TEST: §cYou need a tool with a §r§aBreaking Power §r§cof §r§66§r§c to mine Ruby Gemstone Block§r§c! Speak to §r§dFragilis §r§cby the entrance to the Crystal Hollows to learn more!
+ * REGEX-TEST: §cYou need a tool with a §r§aBreaking Power §r§cof §r§64§r§c to mine Mithril§r§c! Speak to §r§dFragilis §r§cby the entrance to the Crystal Hollows to learn more!
*/
private val breakingPowerPattern by patternGroup.pattern(
"warning.breakingpower",
- "§cYou need a tool with a §r§aBreaking Power §r§cof (?:§.)*\\d+§r§c to mine (Ruby|Amethyst|Jade|Amber|Sapphire|Topaz) Gemstone Block§r§c!.+",
+ "§cYou need a tool with a §r§aBreaking Power §r§cof (?:§.)*\\d+§r§c to mine .+",
)
/**