Skip to content

Commit

Permalink
Decrease match score by key
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Nov 7, 2023
1 parent 0049aaf commit c5bd0fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.components.events.GuiEventListener;
import net.minecraft.client.gui.screens.Screen;
import net.minecraft.client.resources.language.I18n;
import org.apache.commons.lang3.mutable.Mutable;
import org.apache.commons.lang3.mutable.MutableObject;
import org.jetbrains.annotations.Nullable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public Object decompose(String searchTerm) {
}

public enum MatchType {
KEY(1.0F),
KEY(0.0005F),
NAME(0.98F),
DESCRIPTION(0.8F),
;
Expand Down

0 comments on commit c5bd0fe

Please sign in to comment.