diff --git a/CommandHook/CommandRegistration.cs b/CommandHook/CommandRegistration.cs index e704474..14ecf23 100644 --- a/CommandHook/CommandRegistration.cs +++ b/CommandHook/CommandRegistration.cs @@ -6,9 +6,9 @@ namespace CommandHook; public struct CommandRegistration { /// - /// Called before the command runs. Set on - /// 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 + /// to cancel the command, report that result to the caller, and skip any + /// remaining Before listeners. Return null to let the command run. /// public readonly CommandBeforeDelegate? Before;