aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorsayomaki <sayomayomaki@gmail.com>2024-06-12 21:12:57 +0800
committerGitHub <noreply@github.com>2024-06-12 15:12:57 +0200
commit830d3fe7d296603b545e583b8f49d5fa59e160ee (patch)
tree75a2bf02b9c90c3a5b56d923462befc108133390 /src/main/java/at
parent8d428d376942f5487694e0579c89c3d20c6e1564 (diff)
downloadskyhanni-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.kt5
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>.*)"
)
/**