Corrected Logging ZAxis detection

This commit is contained in:
MDIC
2022-04-08 11:33:10 -04:00
parent 3abb14713c
commit d461e55742

View File

@@ -240,7 +240,7 @@ void AnticheatMgr::ZAxisHackDetection(Player* player, MovementInfo movementInfo)
// need better way to limit chat spam
if (m_Players[key].GetTotalReports() >= sConfigMgr->GetOption<uint32>("Anticheat.ReportinChat.Min", 70) && m_Players[key].GetTotalReports() <= sConfigMgr->GetOption<uint32>("Anticheat.ReportinChat.Max", 80))
{
sWorld->SendGMText(LANG_ANTICHEAT_ALERT, player->GetName().c_str());
sWorld->SendGMText(LANG_ANTICHEAT_ALERT, player->GetName().c_str(), player->GetName().c_str());
}
}
if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", true))