diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 03:33:03 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 03:33:03 +0100 |
commit | 92b6788a241765706ca7ff70d71b5b513f615db8 (patch) | |
tree | 4cf7b41180c051a302c1b68b9d19b969d443e6cc /src/main/java/at/hannibal2/skyhanni/utils | |
parent | c25b622fcafb9bf033ea801d6f9787187aaa1b0d (diff) | |
parent | d81f2b443d8198086a9d36246aabb7ffd3833980 (diff) | |
download | skyhanni-92b6788a241765706ca7ff70d71b5b513f615db8.tar.gz skyhanni-92b6788a241765706ca7ff70d71b5b513f615db8.tar.bz2 skyhanni-92b6788a241765706ca7ff70d71b5b513f615db8.zip |
Merge remote-tracking branch 'origin/beta' into beta
# Conflicts:
# src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt index fd52de6fb..ae9c24092 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt @@ -254,7 +254,7 @@ object ItemUtils { fun isSkyBlockMenuItem(stack: ItemStack?): Boolean = stack?.getInternalName()?.equals("SKYBLOCK_MENU") ?: false // TODO USE SH-REPO - private val patternInFront = "(?: *§8(\\+§[\\d\\w])?(?<amount>[\\d.km,]+)(x )?)?(?<name>.*)".toPattern() + private val patternInFront = "(?: *§8(\\+§[\\w])?(?<amount>[\\d.km,]+)(x )?)?(?<name>.*)".toPattern() private val patternBehind = "(?<name>(?:['\\w-]+ ?)+)(?:§8x(?<amount>[\\d,]+))?".toPattern() private val itemAmountCache = mutableMapOf<String, Pair<String, Int>>() |