Skip to content

Commit

Permalink
chore: clean up commented codes
Browse files Browse the repository at this point in the history
  • Loading branch information
70CentsApple committed Jul 13, 2024
1 parent 5fb3e4c commit 69d4f6a
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,6 @@ protected void init() {
this.keywordField = new TextFieldWidget(this.textRenderer, 30, 35, this.width - 155, 20, this.keywordField, TextUtils.trans("texts.ChatHistoryNavigator.placeholder"));
this.keywordField.setChangedListener(keyword -> {
this.chatUnitListWidget.setKeyword(keyword);
// if (this.chatUnitListWidget.searchMode == SearchModes.REGEX) {
// try {
// Pattern.compile(keyword);
// this.keywordField.setTooltip(null);
// } catch (PatternSyntaxException e) {
// this.keywordField.setTooltip(Tooltip.of(TextUtils.literal(e.getDescription()).copy()
// .setStyle(Style.EMPTY.withFormatting(Formatting.RED))));
// }
// }
});

//#if MC>=11700
Expand Down

0 comments on commit 69d4f6a

Please sign in to comment.