Merge branch 'develop' into feature/format_refactor

This commit is contained in:
Matthew Cech
2019-06-18 01:05:22 -07:00
40 changed files with 978 additions and 113 deletions
+3 -3
View File
@@ -111,12 +111,12 @@ public class CommandManager
}
// Looks up command by name. If it exists, dumps help text, otherwise returns null.
public String GetCommandHelpText(String lookup)
public String GetCommandHelpText(String key)
{
Command command = commands.get(lookup);
Command command = commands.get(key);
if(command != null)
return command.getHelpText();
return "`" + key + "`: " + command.getHelpText();
return null;
}