Made PostPlayerCommandEventArgs inherited from HandledEventArgs.

This commit is contained in:
AkjaHAsLk1IALk0MasH 2023-06-15 17:37:22 +07:00
parent db40d50348
commit 723719350b

View file

@ -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)
{ {