diff options
author | HiZe_ <superhize@hotmail.com> | 2023-06-02 10:40:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-02 10:40:18 +0200 |
commit | 287e0eefdbfb0509151ef40c38dce4b745409e62 (patch) | |
tree | 402f6bb5809ed5192b786b6dc37c11e30bad5721 /src/main/java/at/hannibal2 | |
parent | e8ce0e0664aa4449b2a934c4f2c89b3f2b43e1a1 (diff) | |
download | skyhanni-287e0eefdbfb0509151ef40c38dce4b745409e62.tar.gz skyhanni-287e0eefdbfb0509151ef40c38dce4b745409e62.tar.bz2 skyhanni-287e0eefdbfb0509151ef40c38dce4b745409e62.zip |
Gemstone regex fix v2 (#192)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt index c8d929ce2..1ed2dbd37 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt @@ -49,7 +49,7 @@ class SackDisplay { private val numPattern = "(?:(?:§[0-9a-f](?<level>I{1,3})§7:)?|(?:§7Stored:)?) (?<color>§[0-9a-f])(?<stored>\\d+(?:\\.\\d+)?(?:,\\d+)?[kKmM]?)§7/(?<total>\\d+(?:\\.\\d+)?(?:,\\d+)?[kKmM]?)".toPattern() private val gemstonePattern = - " §[0-9a-f](?<gemrarity>[A-z]*): §[0-9a-f](?<stored>\\d+(?:\\.\\d+)?(?:,\\d+)?[kKmM]?)(?: §[0-9a-f]\\(\\d+(?:\\.\\d+)?(?:(?:,\\d+)?)+[kKmM]?\\))?".toPattern() + " §[0-9a-f](?<gemrarity>[A-z]*): §[0-9a-f](?<stored>\\d+(?:\\.\\d+)?(?:(?:,\\d+)?)+[kKmM]?)(?: §[0-9a-f]\\(\\d+(?:\\.\\d+)?(?:(?:,\\d+)?)+[kKmM]?\\))?".toPattern() @SubscribeEvent |