Remove color on quest tab complete, part 2

This commit is contained in:
PikaMug 2022-03-26 00:18:06 -04:00
parent 637ac02ee2
commit 609eb183bd

View File

@ -86,7 +86,7 @@ public class QuestCommandHandler {
final List<String> results = new ArrayList<>();
for (final IQuest quest : plugin.getLoadedQuests()) {
if (quest.getName().toLowerCase().startsWith(args[0].toLowerCase())) {
results.add(quest.getName());
results.add(ChatColor.stripColor(quest.getName()));
}
}
return results;