aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authormartimavocado <39881008+martimavocado@users.noreply.github.com>2024-10-13 21:02:56 +0100
committerGitHub <noreply@github.com>2024-10-13 22:02:56 +0200
commitbd4d6420916bd5a55360bb9ab6781f7b6ac15fab (patch)
tree23cc41facc1ee81e516afefa513abf60ece71157 /src/main/java/at
parent9792e114106f4a816fdec4b82bc5a82f576de5e9 (diff)
downloadskyhanni-bd4d6420916bd5a55360bb9ab6781f7b6ac15fab.tar.gz
skyhanni-bd4d6420916bd5a55360bb9ab6781f7b6ac15fab.tar.bz2
skyhanni-bd4d6420916bd5a55360bb9ab6781f7b6ac15fab.zip
Fix: Enchant Parsing not displaying locked enchants (#2732)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/enchants/EnchantParser.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/enchants/EnchantParser.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/enchants/EnchantParser.kt
index 162d2adee..cbacf7e2f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/enchants/EnchantParser.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/enchants/EnchantParser.kt
@@ -41,7 +41,7 @@ object EnchantParser {
val patternGroup = RepoPattern.group("misc.items.enchantparsing")
val enchantmentPattern by patternGroup.pattern(
"enchants.new",
- "(§d§l|§9)(?<enchant>[A-Za-z][A-Za-z '-]+) (?<levelNumeral>[IVXLCDM]+|[0-9]+)(?<stacking>(§r)?§9, |\$| §8\\d{1,3}(,\\d{3})*)",
+ "(§7§l|§d§l|§9)(?<enchant>[A-Za-z][A-Za-z '-]+) (?<levelNumeral>[IVXLCDM]+|[0-9]+)(?<stacking>(§r)?§9, |\$| §8\\d{1,3}(,\\d{3})*)",
)
private val grayEnchantPattern by patternGroup.pattern(
"grayenchants", "^(Respiration|Aqua Affinity|Depth Strider|Efficiency).*",