diff options
author | Ascynx <78341107+Ascynx@users.noreply.github.com> | 2022-10-23 22:01:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 22:01:56 +0200 |
commit | 8251ff791720e3f997f8a4b6bdb09bc319b386a3 (patch) | |
tree | 140e26b2f335dc5c58a74ababb8e32a4cd9824e1 /src/main/java/io | |
parent | dd6a4011a95da0481b98ff472dedc7911f9a3741 (diff) | |
download | NotEnoughUpdates-8251ff791720e3f997f8a4b6bdb09bc319b386a3.tar.gz NotEnoughUpdates-8251ff791720e3f997f8a4b6bdb09bc319b386a3.tar.bz2 NotEnoughUpdates-8251ff791720e3f997f8a4b6bdb09bc319b386a3.zip |
Config :skull: (#397)
Diffstat (limited to 'src/main/java/io')
-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; |