Fixes most commands.

This commit is contained in:
hondacrx
2022-06-11 21:09:48 -04:00
parent 130444d893
commit e0025794a5
31 changed files with 1275 additions and 928 deletions
+1 -2
View File
@@ -120,12 +120,11 @@ namespace Game.Chat
}
[Command("level", RBACPermissions.CommandCharacterLevel, true)]
static bool HandleGroupLevelCommand(CommandHandler handler, string playerName, short level)
static bool HandleGroupLevelCommand(CommandHandler handler, PlayerIdentifier player, short level)
{
if (level < 1)
return false;
var player = PlayerIdentifier.ParseFromString(playerName);
if (player == null)
player = PlayerIdentifier.FromTargetOrSelf(handler);
if (player == null)