From c43872565c91b80fa6f1bfeb3ca9e187a22153ce Mon Sep 17 00:00:00 2001 From: anth64 Date: Thu, 25 Jun 2026 20:17:12 +0200 Subject: [PATCH] docs: fix CommandRegistration doc comment referencing removed CommandData --- CommandHook/CommandRegistration.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;