diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/listener/ItemTooltipListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |