Core/Commands: Fixed not being able to use command: .levelup

This commit is contained in:
hondacrx
2022-10-03 17:32:27 -04:00
parent 10302a3ceb
commit e4a18a7d04
2 changed files with 3 additions and 3 deletions
@@ -672,7 +672,7 @@ namespace Game.Chat
}
[CommandNonGroup("levelup", RBACPermissions.CommandLevelup)]
static bool HandleLevelUpCommand(CommandHandler handler, PlayerIdentifier player, short level)
static bool HandleLevelUpCommand(CommandHandler handler, [OptionalArg]PlayerIdentifier player, short level)
{
if (player == null)
player = PlayerIdentifier.FromTargetOrSelf(handler);