From 8ddd2f05661357c1b3c729331e8a77663ade2ba4 Mon Sep 17 00:00:00 2001 From: rmichela Date: Sun, 11 Mar 2012 03:47:27 -0400 Subject: [PATCH] [Bleeding] Help index now identifies itself as "Help: Index" rather than "Help: null" --- src/main/java/org/bukkit/craftbukkit/help/SimpleHelpMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/help/SimpleHelpMap.java b/src/main/java/org/bukkit/craftbukkit/help/SimpleHelpMap.java index 753b29ab6b..01eb5533cc 100644 --- a/src/main/java/org/bukkit/craftbukkit/help/SimpleHelpMap.java +++ b/src/main/java/org/bukkit/craftbukkit/help/SimpleHelpMap.java @@ -23,7 +23,7 @@ public class SimpleHelpMap implements HelpMap { public SimpleHelpMap() { helpTopics = new TreeMap(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(); registerHelpTopicFactory(MultipleCommandAlias.class, new MultipleCommandAliasHelpTopicFactory());