diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 04:36:39 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 04:36:39 +0100 |
commit | 76a187a77e62a145d2b6864a64ba878ed4aa0466 (patch) | |
tree | 8d6ac2e9f9ff1af6677b5c2f78eae26e8eb321d5 | |
parent | ab74fb169d427b66c73da184ac5a07ec07b34e02 (diff) | |
download | skyhanni-76a187a77e62a145d2b6864a64ba878ed4aa0466.tar.gz skyhanni-76a187a77e62a145d2b6864a64ba878ed4aa0466.tar.bz2 skyhanni-76a187a77e62a145d2b6864a64ba878ed4aa0466.zip |
Removed unnecessary capturing group.
Co-authored-by: Walker Selby <git@walkerselby.com>
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt index ba9dc5327..3336fcae3 100644 --- a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt @@ -18,7 +18,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent class CollectionAPI { // TODO USE SH-REPO - private val counterPattern = "(?:.*) §e(?<amount>.*)§6\\/(?:.*)".toPattern() + private val counterPattern = ".* §e(?<amount>.*)§6/.*".toPattern() private val singleCounterPattern = "§7Total Collected: §e(?<amount>.*)".toPattern() @SubscribeEvent |