From 53ab1a728bb731cca6057d93b2e71bda1885a500 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 2 Jan 2025 10:25:55 +0000 Subject: [PATCH] chore: bump XPSystem version Some outdated code which changed --- DiscordLab.XPSystem/Commands/GetLevel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DiscordLab.XPSystem/Commands/GetLevel.cs b/DiscordLab.XPSystem/Commands/GetLevel.cs index 6e44e6d..a82742c 100644 --- a/DiscordLab.XPSystem/Commands/GetLevel.cs +++ b/DiscordLab.XPSystem/Commands/GetLevel.cs @@ -32,7 +32,7 @@ public async Task Run(SocketSlashCommand command) { if (command.Data.Options.Count == 0) return; string option = command.Data.Options.First().Value.ToString(); - if (XPAPI.TryParseUserId(option, out IPlayerId playerId) == false) + if (XPAPI.TryParseUserId(option, out IPlayerId playerId) == false) { await command.RespondAsync(Plugin.Instance.Translation.FailToGetUser); return;