diff options
author | sayomaki <sayomayomaki@gmail.com> | 2024-06-12 21:12:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 15:12:57 +0200 |
commit | 830d3fe7d296603b545e583b8f49d5fa59e160ee (patch) | |
tree | 75a2bf02b9c90c3a5b56d923462befc108133390 /src/main/java/at | |
parent | 8d428d376942f5487694e0579c89c3d20c6e1564 (diff) | |
download | skyhanni-830d3fe7d296603b545e583b8f49d5fa59e160ee.tar.gz skyhanni-830d3fe7d296603b545e583b8f49d5fa59e160ee.tar.bz2 skyhanni-830d3fe7d296603b545e583b8f49d5fa59e160ee.zip |
Fix: Chat formatting categorising stash pickup messages as private chat (#2060)
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerChatManager.kt | 5 |
1 files changed, 3 insertions, 2 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 f8f8b4523..1ac35e115 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 @@ -68,14 +68,15 @@ object PlayerChatManager { /** * REGEX-TEST: To nea89o: lol * REGEX-TEST: From nea89o: hiii - * REGEX-TEST: §eFrom stash: §r§fPufferfish + * REGEX-TEST: From stash: Pufferfish + * REGEX-TEST: From stash: Wheat * 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", - "^(?!§eFrom stash: §r)(?<direction>From|To) (?<author>[^:]*): (?<message>.*)" + "^(?!From stash: )(?<direction>From|To) (?<author>[^:]*): (?<message>.*)" ) /** |