Core/Commands: Fixed not being able to use command: .levelup
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user