mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-20 23:54:24 +01:00
Some small fixes/improvements.
This commit is contained in:
parent
96aaefd3e2
commit
f938531e21
6 changed files with 13 additions and 16 deletions
|
|
@ -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.");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue