Made PostPlayerCommandEventArgs inherited from HandledEventArgs.
This commit is contained in:
parent
db40d50348
commit
723719350b
1 changed files with 1 additions and 5 deletions
|
|
@ -144,7 +144,7 @@ namespace TShockAPI.Hooks
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// EventArgs used for the <see cref="PlayerHooks.PostPlayerCommand"/> event.
|
/// EventArgs used for the <see cref="PlayerHooks.PostPlayerCommand"/> event.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class PostPlayerCommandEventArgs
|
public class PostPlayerCommandEventArgs : HandledEventArgs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The command entered by the player.
|
/// The command entered by the player.
|
||||||
|
|
@ -154,10 +154,6 @@ namespace TShockAPI.Hooks
|
||||||
/// Command arguments.
|
/// Command arguments.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public CommandArgs Arguments { get; }
|
public CommandArgs Arguments { get; }
|
||||||
/// <summary>
|
|
||||||
/// Is the command executed.
|
|
||||||
/// </summary>
|
|
||||||
public bool Handled { get; }
|
|
||||||
|
|
||||||
public PostPlayerCommandEventArgs(Command command, CommandArgs arguments, bool handled)
|
public PostPlayerCommandEventArgs(Command command, CommandArgs arguments, bool handled)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue