diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-08 00:25:04 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-08 00:25:04 +0200 |
commit | 438913125287404a4ca7fd1564c8b2d811720adb (patch) | |
tree | 43dc1fe77ff18a519f29b3118247876c4c51abab /src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt | |
parent | 18ed601ab07382a6c4a002eeda6fb5b2bb54622e (diff) | |
download | skyhanni-438913125287404a4ca7fd1564c8b2d811720adb.tar.gz skyhanni-438913125287404a4ca7fd1564c8b2d811720adb.tar.bz2 skyhanni-438913125287404a4ca7fd1564c8b2d811720adb.zip |
code cleanup data
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt b/src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt index e91019ff6..2db2181a1 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/SkillExperience.kt @@ -14,8 +14,8 @@ import at.hannibal2.skyhanni.utils.StringUtils.removeColor import net.minecraftforge.fml.common.eventhandler.SubscribeEvent class SkillExperience { - private val actionBarPattern = "(?:.*)§3\\+(?:.*) (?<skill>.*) \\((?<overflow>.*)\\/(?<needed>.*)\\)(?:.*)".toPattern() - private val inventoryPattern = "(?:.*) §e(?<number>.*)§6\\/(?:.*)".toPattern() + private val actionBarPattern = ".*§3\\+.* (?<skill>.*) \\((?<overflow>.*)/(?<needed>.*)\\).*".toPattern() + private val inventoryPattern = ".* §e(?<number>.*)§6/.*".toPattern() @SubscribeEvent fun onProfileDataLoad(event: ProfileApiDataLoadedEvent) { |