diff options
author | Alexia <me@alexia.lol> | 2024-02-24 00:08:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-24 00:08:52 +0100 |
commit | 972d07c2631d99d0b3e46ea66eecf0825d4e038c (patch) | |
tree | 01218570da26c36ed7ba60fbdc526d45282c984f /src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt | |
parent | 4a542542f7887880152782da2ec0aca272260087 (diff) | |
download | skyhanni-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.kt | 5 |
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>.*)" + ) } |