We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebfa367 commit 43a6e68Copy full SHA for 43a6e68
1 file changed
src/main/java/net/wurstclient/clickgui/screens/ChestSearchScreen.java
@@ -1150,6 +1150,14 @@ else if(scrollOffset > maxScroll)
1150
{
1151
String extraContent = extra.length() > 3
1152
? extra.substring(2, extra.length() - 1) : "";
1153
+ // remove Minecraft formatting sequences (section sign +
1154
+ // code)
1155
+ try
1156
+ {
1157
+ extraContent =
1158
+ extraContent.replaceAll("\u00A7.", "");
1159
+ }catch(Throwable ignored)
1160
+ {}
1161
String normExtra = extraContent.toLowerCase(Locale.ROOT)
1162
.replaceAll("[^a-z0-9 ]", "").trim();
1163
String normName =
0 commit comments