diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-12-29 04:04:45 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-12-29 04:04:45 +0100 |
commit | 78328f061716609a61550aced3106b835b6f298c (patch) | |
tree | 0d744e49bda4cc757b18135fc9fac0ef1a206f48 /src/main/java | |
parent | e3d18c673d90d2eae5c4548ac00bc27da6c330f9 (diff) | |
download | skyhanni-78328f061716609a61550aced3106b835b6f298c.tar.gz skyhanni-78328f061716609a61550aced3106b835b6f298c.tar.bz2 skyhanni-78328f061716609a61550aced3106b835b6f298c.zip |
added topaz
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 6 |
1 files changed, 3 insertions, 3 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 6e26fd187..f1334cee1 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt @@ -353,10 +353,10 @@ class ChatFilter { } private fun isPowderMining(message: String) = when { - message.matchRegex("§cYou need a stronger tool to mine (Amethyst|Ruby|Jade|Amber|Sapphire) Gemstone Block§r§c.") -> true + message.matchRegex("§cYou need a stronger tool to mine (Amethyst|Ruby|Jade|Amber|Sapphire|Topaz) Gemstone Block§r§c.") -> true - message.matchRegex("§aYou received §r§f\\d* §r§f[❤❈☘⸕✎] §r§fRough (Ruby|Amethyst|Jade|Amber|Sapphire) Gemstone§r§a\\.") -> true - message.matchRegex("§aYou received §r§f\\d §r§a[❤❈☘⸕✎] §r§aFlawed (Ruby|Amethyst|Jade|Amber|Sapphire) Gemstone§r§a\\.") -> true + message.matchRegex("§aYou received §r§f\\d* §r§f[❤❈☘⸕✎✧] §r§fRough (Ruby|Amethyst|Jade|Amber|Sapphire|Topaz) Gemstone§r§a\\.") -> true + message.matchRegex("§aYou received §r§f\\d §r§a[❤❈☘⸕✎✧] §r§aFlawed (Ruby|Amethyst|Jade|Amber|Sapphire|Topaz) Gemstone§r§a\\.") -> true message == "§aYou uncovered a treasure chest!" -> true |