docs: fix CommandRegistration doc comment referencing removed CommandData

This commit is contained in:
2026-06-25 20:17:12 +02:00
parent ecc796031a
commit c43872565c
+3 -3
View File
@@ -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;