/help <command> should show the help for that command, not execute it

This commit is contained in:
Robin Kanters 2015-05-23 14:56:05 +02:00
parent 626c2bbba1
commit 968922f7ad

View File

@ -29,7 +29,7 @@ namespace TrueCraft.Commands
ICommand found;
if ((found = Program.CommandManager.FindByName(identifier)) != null)
{
found.Handle(client, identifier, new string[0]);
found.Help(client, identifier, new string[0]);
return;
}
else if ((found = Program.CommandManager.FindByAlias(identifier)) != null)