diff --git a/src/cs_anticheat.cpp b/src/cs_anticheat.cpp index 7c7560f..72e1d5f 100644 --- a/src/cs_anticheat.cpp +++ b/src/cs_anticheat.cpp @@ -178,7 +178,7 @@ public: if (!sConfigMgr->GetOption("Anticheat.Enabled", 0)) return false; - ObjectGuid guid; + ObjectGuid guid = player->GetGUID(); if (!player) player = PlayerIdentifier::FromTarget(handler);