PlayerCommandEventArgs passes the command prefix

Fix tab space conflict in PlayerHooks.cs
This commit is contained in:
Lucas Nicodemus 2015-03-08 16:00:43 -06:00
parent 02564b5f9c
commit 32218f9be0
2 changed files with 67 additions and 66 deletions

View file

@ -623,7 +623,7 @@ namespace TShockAPI
IEnumerable<Command> cmds = ChatCommands.FindAll(c => c.HasAlias(cmdName));
if (Hooks.PlayerHooks.OnPlayerCommand(player, cmdName, cmdText, args, ref cmds))
if (Hooks.PlayerHooks.OnPlayerCommand(player, cmdName, cmdText, args, ref cmds, cmdPrefix))
return true;
if (cmds.Count() == 0)