aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-13 14:54:30 +0100
committerGitHub <noreply@github.com>2024-02-13 14:54:30 +0100
commitf76e940e28d43ea33e2b40a918495e3c5a8cc5ad (patch)
tree7fcd1bad75fd7419a54033867019826da2881da8 /src/main
parent028c8c6b0620b1c7f4f71f7d7991de42130f9d6e (diff)
downloadNotEnoughUpdates-f76e940e28d43ea33e2b40a918495e3c5a8cc5ad.tar.gz
NotEnoughUpdates-f76e940e28d43ea33e2b40a918495e3c5a8cc5ad.tar.bz2
NotEnoughUpdates-f76e940e28d43ea33e2b40a918495e3c5a8cc5ad.zip
Fix color search (#1017)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java2
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) {