Skip to content

Commit

Permalink
chore: bump XPSystem version
Browse files Browse the repository at this point in the history
Some outdated code which changed
  • Loading branch information
LumiFae committed Jan 2, 2025
1 parent 33858b8 commit 53ab1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DiscordLab.XPSystem/Commands/GetLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<object> playerId) == false)
if (XPAPI.TryParseUserId(option, out IPlayerId playerId) == false)
{
await command.RespondAsync(Plugin.Instance.Translation.FailToGetUser);
return;
Expand Down

0 comments on commit 53ab1a7

Please sign in to comment.