mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
fix: register correct handler for /xlversion
This commit is contained in:
parent
ca52a8c9e4
commit
3b0d09f1df
1 changed files with 2 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ namespace Dalamud.Interface.Internal
|
||||||
"Change various In-Game-Addon settings like chat channels and the discord bot setup."),
|
"Change various In-Game-Addon settings like chat channels and the discord bot setup."),
|
||||||
});
|
});
|
||||||
|
|
||||||
commandManager.AddHandler("/xlversion", new CommandInfo(this.OnDebugImInfoCommand)
|
commandManager.AddHandler("/xlversion", new CommandInfo(this.OnVersionInfoCommand)
|
||||||
{
|
{
|
||||||
HelpMessage = "Dalamud version info",
|
HelpMessage = "Dalamud version info",
|
||||||
});
|
});
|
||||||
|
|
@ -313,7 +313,7 @@ namespace Dalamud.Interface.Internal
|
||||||
Log.Information(info);
|
Log.Information(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnVersionInfo(string command, string arguments)
|
private void OnVersionInfoCommand(string command, string arguments)
|
||||||
{
|
{
|
||||||
var chatGui = Service<ChatGui>.Get();
|
var chatGui = Service<ChatGui>.Get();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue