aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
diff options
context:
space:
mode:
authorAlexia <me@alexia.lol>2024-02-24 00:08:52 +0100
committerGitHub <noreply@github.com>2024-02-24 00:08:52 +0100
commit972d07c2631d99d0b3e46ea66eecf0825d4e038c (patch)
tree01218570da26c36ed7ba60fbdc526d45282c984f /src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
parent4a542542f7887880152782da2ec0aca272260087 (diff)
downloadskyhanni-972d07c2631d99d0b3e46ea66eecf0825d4e038c.tar.gz
skyhanni-972d07c2631d99d0b3e46ea66eecf0825d4e038c.tar.bz2
skyhanni-972d07c2631d99d0b3e46ea66eecf0825d4e038c.zip
Fixed rare profile detection bugs. Changed PreProfileSwitchEvent to ProfileJoinEvent. #868
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
index 7f19388d4..df127baa6 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
@@ -77,4 +77,9 @@ object UtilsPatterns {
"skyblocktime.season",
"(?:Early |Late )?(?<season>Spring|Summer|Autumn|Winter)"
)
+
+ val tabListProfilePattern by patternGroup.pattern(
+ "tablist.profile",
+ "§.§lProfile: §r§a(?<profile>.*)"
+ )
}