aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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>.*)"
)
/**