Fix filter bug for new category system

This commit is contained in:
Salmonllama 2020-09-12 15:35:57 -04:00
parent bd747c6302
commit e3db8db80b

View File

@ -161,7 +161,7 @@ public class HelpCommand extends Command {
public boolean isCategory(String input) {
for (Command cmd : guthix.listCommands()) {
String category = cmd.category().getCategory();
String category = cmd.category().getCategory().toLowerCase();
if (category.toLowerCase().equals(input.toLowerCase())) {
return true;
}