We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a4a415 commit c73e794Copy full SHA for c73e794
src/main/java/net/wurstclient/clickgui/screens/ChestSearchScreen.java
@@ -1155,6 +1155,14 @@ else if(scrollOffset > maxScroll)
1155
{
1156
String extraContent = extra.length() > 3
1157
? extra.substring(2, extra.length() - 1) : "";
1158
+ // remove Minecraft formatting sequences (section sign +
1159
+ // code)
1160
+ try
1161
+ {
1162
+ extraContent =
1163
+ extraContent.replaceAll("\u00A7.", "");
1164
+ }catch(Throwable ignored)
1165
+ {}
1166
String normExtra = extraContent.toLowerCase(Locale.ROOT)
1167
.replaceAll("[^a-z0-9 ]", "").trim();
1168
String normName =
0 commit comments