PlayerCommandEventArgs passes the command prefix
Fix tab space conflict in PlayerHooks.cs
This commit is contained in:
parent
02564b5f9c
commit
32218f9be0
2 changed files with 67 additions and 66 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue