docs: fix CommandRegistration doc comment referencing removed CommandData
This commit is contained in:
@@ -6,9 +6,9 @@ namespace CommandHook;
|
||||
public struct CommandRegistration
|
||||
{
|
||||
/// <summary>
|
||||
/// Called before the command runs. Set <see cref="CommandData.Cancel"/> on
|
||||
/// <paramref name="data"/> via the ref parameter inside your delegate to stop
|
||||
/// the command from executing and skip any remaining Before listeners.
|
||||
/// Called before the command runs. Return a non-null <see cref="TextCommandResult"/>
|
||||
/// to cancel the command, report that result to the caller, and skip any
|
||||
/// remaining Before listeners. Return null to let the command run.
|
||||
/// </summary>
|
||||
public readonly CommandBeforeDelegate? Before;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user