diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-14 23:50:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 23:50:15 +0200 |
commit | f670fb96f9709f5249c1606ca77fcdf816c71058 (patch) | |
tree | b71a47b806c043aa3ba604b1001b1aa98d449348 /src/main/java/at | |
parent | e101b11cb4117d51c14c051689d380a815a5185b (diff) | |
download | skyhanni-f670fb96f9709f5249c1606ca77fcdf816c71058.tar.gz skyhanni-f670fb96f9709f5249c1606ca77fcdf816c71058.tar.bz2 skyhanni-f670fb96f9709f5249c1606ca77fcdf816c71058.zip |
Fix: Profit Tracker Enchanted Book (#1775)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt index 989204c0a..fbe2b90ab 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt @@ -28,9 +28,13 @@ object UtilsPatterns { ".{2}Abiphone .*" ) + /** + * REGEX-TEST: §fEnchanted Book + * REGEX-TEST: §f§f§fEnchanted Book + */ val enchantedBookPattern by patternGroup.pattern( "item.name.enchanted.book", - ".{2}?Enchanted Book" + "(?:§.)+Enchanted Book" ) val baitPattern by patternGroup.pattern( |