From f76e940e28d43ea33e2b40a918495e3c5a8cc5ad Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Tue, 13 Feb 2024 14:54:30 +0100 Subject: Fix color search (#1017) --- src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit