aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/chat
diff options
context:
space:
mode:
authorHiZe_ <superhize@hotmail.com>2023-10-26 00:40:22 +0200
committerGitHub <noreply@github.com>2023-10-26 00:40:22 +0200
commitff6477b9443cb5a9f247a5f1d10734180e9d26d7 (patch)
treee330924bb861cbe06cddde4cd745df558ee1945f /src/main/java/at/hannibal2/skyhanni/features/chat
parentdc0ea5984697dc5f81011eb584fafd717d070070 (diff)
downloadskyhanni-ff6477b9443cb5a9f247a5f1d10734180e9d26d7.tar.gz
skyhanni-ff6477b9443cb5a9f247a5f1d10734180e9d26d7.tar.bz2
skyhanni-ff6477b9443cb5a9f247a5f1d10734180e9d26d7.zip
Added Diamond/Gold essence to chat filter (#620)
Added Diamond/Gold essence to chat filter powder mining. #620
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/chat')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt2
1 files changed, 2 insertions, 0 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 6772e67cf..cf12867f4 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -347,6 +347,8 @@ class ChatFilter {
message.matchRegex("§aYou received §r§b\\+\\d{1,3} §r§a(Mithril|Gemstone) Powder.") -> true
message == "§6You have successfully picked the lock on this chest!" -> true
+ message.matchRegex("§aYou received §r(§6|§b)\\+[1-2] (Diamond|Gold) Essence") -> true
+
else -> false
}