fix (cmd): anticheat player cmd stats fix

This commit is contained in:
MDIC
2022-04-30 11:24:27 -04:00
parent 6737879221
commit 294e39df8a

View File

@@ -178,7 +178,7 @@ public:
if (!sConfigMgr->GetOption<bool>("Anticheat.Enabled", 0))
return false;
ObjectGuid guid;
ObjectGuid guid = player->GetGUID();
if (!player)
player = PlayerIdentifier::FromTarget(handler);