mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 10:36:09 +01:00
Remove color on quest tab complete, part 2
This commit is contained in:
parent
637ac02ee2
commit
609eb183bd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user