1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

use proper method name

This commit is contained in:
JustAHuman-xD 2023-12-07 11:48:45 -06:00 committed by GitHub
parent e261bbebe9
commit d0963697ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ public class SurvivalSlimefunGuide implements SlimefunGuideImplementation {
}
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);