Skip to content

Commit

Permalink
use proper method name
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAHuman-xD authored Dec 7, 2023
1 parent e261bbe commit d096369
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public void openSearch(PlayerProfile profile, String input, boolean addToHistory
}

ChestMenu menu = new ChestMenu(Slimefun.getLocalization().getMessage(p, "guide.search.inventory").replace("%item%", ChatUtils.crop(ChatColor.WHITE, input)));
String searchTerm = ChatColor.strip(input.toLowerCase(Locale.ROOT));
String searchTerm = ChatColor.stripColor(input.toLowerCase(Locale.ROOT));

if (addToHistory) {
profile.getGuideHistory().add(searchTerm);
Expand Down

0 comments on commit d096369

Please sign in to comment.