aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorKurumi78 <30587387+Kurumi78@users.noreply.github.com>2023-10-13 15:50:12 -0500
committerGitHub <noreply@github.com>2023-10-13 22:50:12 +0200
commita1e17a7249ea01cc34d1ad096c64b7c9edd6dacc (patch)
tree37b45d0c7cca04c757ec0260a65d18924d5becd6 /src/main/java
parent020b3fd158a0845958a173b91bb090ed1c28be10 (diff)
downloadNotEnoughUpdates-a1e17a7249ea01cc34d1ad096c64b7c9edd6dacc.tar.gz
NotEnoughUpdates-a1e17a7249ea01cc34d1ad096c64b7c9edd6dacc.tar.bz2
NotEnoughUpdates-a1e17a7249ea01cc34d1ad096c64b7c9edd6dacc.zip
Remove checking for SBA before adding Z to Color parsing list. (#879)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/item/enchants/EnchantMatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/item/enchants/EnchantMatcher.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/item/enchants/EnchantMatcher.java
index e8ded18c..82b3a597 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/item/enchants/EnchantMatcher.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/item/enchants/EnchantMatcher.java
@@ -41,7 +41,7 @@ public class EnchantMatcher {
private final static String romanNumerals =
"(I|II|III|IV|V|VI|VII|VIII|IX|X|XI|XII|XIII|XIV|XV|XVI|XVII|XVIII|XIX|XX)";
private final static Supplier<String> validColors = Suppliers.memoize(() ->
- "0123456789abcdefz" + (Loader.isModLoaded("skyblockaddons") ? "Z" : ""));
+ "0123456789abcdefzZ");
public static LRUCache<String, Optional<EnchantMatcher>> fromSaveFormatMemoized =
LRUCache.memoize(