Some small fixes/improvements.

This commit is contained in:
Ottermandias 2023-05-27 13:56:43 +02:00
parent 96aaefd3e2
commit f938531e21
6 changed files with 13 additions and 16 deletions

View file

@ -51,11 +51,13 @@ public class CommandHandler : IDisposable
_collectionEditor = collectionEditor;
framework.RunOnFrameworkThread(() =>
{
_commandManager.RemoveHandler(CommandName);
_commandManager.AddHandler(CommandName, new CommandInfo(OnCommand)
{
HelpMessage = "Without arguments, toggles the main window. Use /penumbra help to get further command help.",
ShowInHelp = true,
});
Penumbra.Log.Information($"Registered {CommandName} with Dalamud.");
});
}