aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-04-27 16:15:43 +0200
committerGitHub <noreply@github.com>2024-04-27 16:15:43 +0200
commit69273d6df1fcb8f1d2b2e3b8357b48973d0a8dc2 (patch)
tree3d42520224989355b95d6bfa679da064e35b6640 /src/main/java/at/hannibal2
parent58779ca1f8edb9de3d25c7a26b60b83f0ee1e498 (diff)
downloadskyhanni-69273d6df1fcb8f1d2b2e3b8357b48973d0a8dc2.tar.gz
skyhanni-69273d6df1fcb8f1d2b2e3b8357b48973d0a8dc2.tar.bz2
skyhanni-69273d6df1fcb8f1d2b2e3b8357b48973d0a8dc2.zip
Fix: Guild chat rank detection (#1568)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerChatManager.kt3
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 e47daa4f2..96fad9711 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
@@ -56,10 +56,11 @@ class PlayerChatManager {
* REGEX-TEST: §2Guild > §6⚔ §6[MVP§3++§6] RealBacklight§f: §r!warp
* REGEX-TEST: §2Guild > §b[MVP§3+§b] Eisengolem§f: §r!pt
* REGEX-TEST: §2Guild > §b[MVP§d+§b] zunoff §e[VET]§f: §rwas löuft
+ * REGEX-TEST: §2Guild > §7stinkywinkyowo §6[O]§f: §rraven____ > hi
*/
private val guildPattern by patternGroup.pattern(
"guild",
- "§2Guild > (?<author>§.+?)(?<guildRank> §e\\[\\w*])?§f: §r(?<message>.*)"
+ "§2Guild > (?<author>§.+?)(?<guildRank> §.\\[\\w*])?§f: §r(?<message>.*)"
)
/**