Controlling

Controlling

236M Downloads

[1.15.2] Localized values are not used when searching by Сategory

TheDirectorX opened this issue · 0 comments

commented

image
image
Also in English, it finds the word "Misc", but does not search if you write "Miscellaneous" in full.

At 1.12.2 everything works:

GuiNewKeyBindingList.KeyEntry ent = (GuiNewKeyBindingList.KeyEntry) entry;
String compareStr = translate(ent.getKeybinding().getKeyDescription()).toLowerCase();
if(boxSearchCategory.isChecked()) {
compareStr = translate(ent.getKeybinding().getKeyCategory()).toLowerCase();
}

Versions:

  • Forge Version: 31.1.35
  • MC Version: 1.15.2
  • Mod Version: 6.1.3 (on previous versions as well)