diff --git a/Dalamud/Game/Command/CommandInfo.cs b/Dalamud/Game/Command/CommandInfo.cs index a8fad6e7a..055c1d125 100644 --- a/Dalamud/Game/Command/CommandInfo.cs +++ b/Dalamud/Game/Command/CommandInfo.cs @@ -3,7 +3,7 @@ namespace Dalamud.Game.Command; /// /// This class describes a registered command. /// -internal sealed class CommandInfo : ICommandInfo +public sealed class CommandInfo : ICommandInfo { /// /// Initializes a new instance of the class. diff --git a/Dalamud/Plugin/Services/ICommandManager.cs b/Dalamud/Plugin/Services/ICommandManager.cs index 6844ca7e0..5816fb2e8 100644 --- a/Dalamud/Plugin/Services/ICommandManager.cs +++ b/Dalamud/Plugin/Services/ICommandManager.cs @@ -27,7 +27,7 @@ public interface ICommandManager /// The command to dispatch. /// The provided arguments. /// A object describing this command. - public void DispatchCommand(string command, string argument, ICommandInfo info); + public void DispatchCommand(string command, string argument, CommandInfo info); /// /// Add a command handler, which you can use to add your own custom commands to the in-game chat. @@ -35,7 +35,7 @@ public interface ICommandManager /// The command to register. /// A object describing the command. /// If adding was successful. - public bool AddHandler(string command, ICommandInfo info); + public bool AddHandler(string command, CommandInfo info); /// /// Remove a command from the command handlers.