From 8251ff791720e3f997f8a4b6bdb09bc319b386a3 Mon Sep 17 00:00:00 2001 From: Ascynx <78341107+Ascynx@users.noreply.github.com> Date: Sun, 23 Oct 2022 22:01:56 +0200 Subject: Config :skull: (#397) --- .../github/moulberry/notenoughupdates/listener/ItemTooltipListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipListener.java b/src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipListener.java index 1dfd273e..27e7cfc6 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipListener.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipListener.java @@ -540,7 +540,7 @@ public static class EnchantLine { } catch (Exception e) { continue; } - Matcher matcher = pattern.matcher(line); + Matcher matcher = pattern.matcher(oLine); int matchCount = 0; while (matcher.find() && matchCount < 5) { if (Utils.cleanColour(matcher.group("enchantName")).startsWith(" ")) continue; -- cgit