From 3b0d09f1dfa483f5e2dba44e5b1bb8c498c2e23d Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Wed, 8 Dec 2021 00:54:09 +0100 Subject: [PATCH] fix: register correct handler for /xlversion --- Dalamud/Interface/Internal/DalamudCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud/Interface/Internal/DalamudCommands.cs b/Dalamud/Interface/Internal/DalamudCommands.cs index 6e2e8a088..eaeaaa267 100644 --- a/Dalamud/Interface/Internal/DalamudCommands.cs +++ b/Dalamud/Interface/Internal/DalamudCommands.cs @@ -126,7 +126,7 @@ namespace Dalamud.Interface.Internal "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", }); @@ -313,7 +313,7 @@ namespace Dalamud.Interface.Internal Log.Information(info); } - private void OnVersionInfo(string command, string arguments) + private void OnVersionInfoCommand(string command, string arguments) { var chatGui = Service.Get();