default description for commands
This commit is contained in:
parent
88a5d472fa
commit
1da8b61805
@ -65,7 +65,7 @@ class CommandManager implements CallbackListener, UsageInformationAble {
|
||||
* @param string $description
|
||||
* @return bool
|
||||
*/
|
||||
public function registerCommandListener($commandName, CommandListener $listener, $method, $adminCommand = false, $description = null) {
|
||||
public function registerCommandListener($commandName, CommandListener $listener, $method, $adminCommand = false, $description = "No Description.") {
|
||||
if (is_array($commandName)) {
|
||||
$success = false;
|
||||
foreach ($commandName as $command) {
|
||||
|
Loading…
Reference in New Issue
Block a user