diff options
author | David Cole <40234707+DavidArthurCole@users.noreply.github.com> | 2024-09-29 21:55:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-30 11:55:27 +1000 |
commit | cc0e94d6d2b935ae5f8b1704de524871caea4148 (patch) | |
tree | 5be7852a6ae4820f7de692853bc40b8acdb819b4 /src/main/java/at/hannibal2/skyhanni/features/chat | |
parent | e4e8a313b66d67107a64db9873996ec58d76566d (diff) | |
download | skyhanni-cc0e94d6d2b935ae5f8b1704de524871caea4148.tar.gz skyhanni-cc0e94d6d2b935ae5f8b1704de524871caea4148.tar.bz2 skyhanni-cc0e94d6d2b935ae5f8b1704de524871caea4148.zip |
Fix: Jasper Gemstones not in Powder Mining Filter (#2618)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/chat')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/PowderMiningChatFilter.kt | 6 |
1 files changed, 5 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 d6e992738..88ac9df69 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/PowderMiningChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/PowderMiningChatFilter.kt @@ -246,10 +246,13 @@ object PowderMiningChatFilter { * REGEX-TEST: §r§a❈ Flawed Amethyst Gemstone §r§8x4 * REGEX-TEST: §r§9⸕ Fine Amber Gemstone * REGEX-TEST: §r§5⸕ Flawless Amber Gemstone + * REGEX-TEST: §r§f❁ Rough Jasper Gemstone §r§8x24 + * REGEX-TEST: §r§a❁ Flawed Jasper Gemstone */ + @Suppress("MaxLineLength") private val gemstonePattern by patternGroup.pattern( "reward.gemstone", - "§r§[fa9][❤❈☘⸕✎✧] (?<tier>Rough|Flawed|Fine|Flawless) (?<gem>Ruby|Amethyst|Jade|Amber|Sapphire|Topaz) Gemstone( §r§8x(?<amount>[\\d,]+))?", + "§r§[fa9][❤❈☘⸕✎✧❁] (?<tier>Rough|Flawed|Fine|Flawless) (?<gem>Ruby|Amethyst|Jade|Amber|Sapphire|Topaz|Jasper) Gemstone( §r§8x(?<amount>[\\d,]+))?", ) @Suppress("CyclomaticComplexMethod") @@ -381,6 +384,7 @@ object PowderMiningChatFilter { "amethyst" -> gemstoneConfig.amethystGemstones "jade" -> gemstoneConfig.jadeGemstones "topaz" -> gemstoneConfig.topazGemstones + "jasper" -> gemstoneConfig.jasperGemstones // Failure case that should never be reached else -> return "no_filter" } |