mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-25 02:17:35 +01:00
[Bleeding] Help index now identifies itself as "Help: Index" rather than "Help: null"
This commit is contained in:
parent
c84af98ccd
commit
8ddd2f0566
@ -23,7 +23,7 @@ public class SimpleHelpMap implements HelpMap {
|
|||||||
|
|
||||||
public SimpleHelpMap() {
|
public SimpleHelpMap() {
|
||||||
helpTopics = new TreeMap<String, HelpTopic>(new HelpTopicComparator()); // Using a TreeMap for its explicit sorting on key
|
helpTopics = new TreeMap<String, HelpTopic>(new HelpTopicComparator()); // Using a TreeMap for its explicit sorting on key
|
||||||
defaultTopic = new IndexHelpTopic(null, null, null, Collections2.filter(helpTopics.values(), Predicates.not(Predicates.instanceOf(CommandAliasHelpTopic.class))));
|
defaultTopic = new IndexHelpTopic("Index", null, null, Collections2.filter(helpTopics.values(), Predicates.not(Predicates.instanceOf(CommandAliasHelpTopic.class))));
|
||||||
topicFactoryMap = new HashMap<Class, HelpTopicFactory>();
|
topicFactoryMap = new HashMap<Class, HelpTopicFactory>();
|
||||||
|
|
||||||
registerHelpTopicFactory(MultipleCommandAlias.class, new MultipleCommandAliasHelpTopicFactory());
|
registerHelpTopicFactory(MultipleCommandAlias.class, new MultipleCommandAliasHelpTopicFactory());
|
||||||
|
Loading…
Reference in New Issue
Block a user