diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-13 14:54:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 14:54:30 +0100 |
commit | f76e940e28d43ea33e2b40a918495e3c5a8cc5ad (patch) | |
tree | 7fcd1bad75fd7419a54033867019826da2881da8 /src | |
parent | 028c8c6b0620b1c7f4f71f7d7991de42130f9d6e (diff) | |
download | NotEnoughUpdates-f76e940e28d43ea33e2b40a918495e3c5a8cc5ad.tar.gz NotEnoughUpdates-f76e940e28d43ea33e2b40a918495e3c5a8cc5ad.tar.bz2 NotEnoughUpdates-f76e940e28d43ea33e2b40a918495e3c5a8cc5ad.zip |
Fix color search (#1017)
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java index 6722d1f1..82603cb7 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java @@ -871,7 +871,7 @@ public class NEUManager { } public static String cleanForTitleMapSearch(String str) { - return str.replaceAll("(\u00a7.)|[^0-9a-zA-Z ]", "").toLowerCase().trim(); + return str.replaceAll("(\u00a7.)|[^#0-9a-zA-Z ]", "").toLowerCase().trim(); } public void showRecipe(JsonObject item) { |