From 89a0b380f085b45140acfd0dce7237a6bd119f59 Mon Sep 17 00:00:00 2001 From: Jerozgen Date: Mon, 13 Mar 2023 05:24:44 +0300 Subject: [PATCH] Fix merge issues --- .../languagereload/mixin/LanguageOptionsScreenMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/jerozgen/languagereload/mixin/LanguageOptionsScreenMixin.java b/src/main/java/jerozgen/languagereload/mixin/LanguageOptionsScreenMixin.java index 18c0a4f..144b95c 100644 --- a/src/main/java/jerozgen/languagereload/mixin/LanguageOptionsScreenMixin.java +++ b/src/main/java/jerozgen/languagereload/mixin/LanguageOptionsScreenMixin.java @@ -130,7 +130,7 @@ private void refresh() { if (selectedLanguageList.children().contains(entry)) return false; var query = searchBox.getText().toLowerCase(Locale.ROOT); var langCode = entry.getCode().toLowerCase(Locale.ROOT); - var langName = entry.getLanguage().getDisplayText().getString().toLowerCase(Locale.ROOT); + var langName = entry.getLanguage().toString().toLowerCase(Locale.ROOT); return langCode.contains(query) || langName.contains(query); })); }