diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-07 15:47:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 23:47:03 +1000 |
commit | c951723119499415cc1856e92348501ea85013a0 (patch) | |
tree | 0eaf3b6a8f768e69c9779b746b7b83d464cdd679 /src | |
parent | 723b46a14897468382d1e6e17c0db2091ad50e78 (diff) | |
download | skyhanni-c951723119499415cc1856e92348501ea85013a0.tar.gz skyhanni-c951723119499415cc1856e92348501ea85013a0.tar.bz2 skyhanni-c951723119499415cc1856e92348501ea85013a0.zip |
Fix: Stash chat (#1716)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerChatManager.kt | 3 |
1 files changed, 2 insertions, 1 deletions
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", - "(?<direction>From|To) (?<author>[^:]*): (?<message>.*)" + "^(?!§eFrom stash: §r)(?<direction>From|To) (?<author>[^:]*): (?<message>.*)" ) /** |