diff options
Diffstat (limited to 'src/main')
-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>.*)" ) /** |