From c951723119499415cc1856e92348501ea85013a0 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Tue, 7 May 2024 15:47:03 +0200 Subject: Fix: Stash chat (#1716) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerChatManager.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerChatManager.kt b/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerChatManager.kt index f60247c0d..c19fa4a42 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerChatManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerChatManager.kt @@ -66,13 +66,14 @@ class PlayerChatManager { /** * REGEX-TEST: To nea89o: lol * REGEX-TEST: From nea89o: hiii + * REGEX-TEST: §eFrom stash: §r§fPufferfish * REGEX-TEST: To [MVP+] Eisengolem: Boop! * REGEX-TEST: From [MVP+] Eisengolem: Boop! * REGEX-TEST: To [MVP+] Eisengolem: danke */ private val privateMessagePattern by patternGroup.pattern( "privatemessage", - "(?From|To) (?[^:]*): (?.*)" + "^(?!§eFrom stash: §r)(?From|To) (?[^:]*): (?.*)" ) /** -- cgit