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:
parent
e261bbebe9
commit
d0963697ca
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user