mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
update (conf): Added conf for Anti-Knock back
sorry about that. forgot to make one
This commit is contained in:
@@ -693,6 +693,9 @@ void AnticheatMgr::AntiSwimHackDetection(Player* player, MovementInfo movementIn
|
||||
// basic detection
|
||||
void AnticheatMgr::AntiKnockBackHactDetection(Player* player, MovementInfo movementInfo)
|
||||
{
|
||||
if (!sConfigMgr->GetOption<bool>("Anticheat.AntiKnockBack", true))
|
||||
return;
|
||||
|
||||
ObjectGuid key = player->GetGUID();
|
||||
|
||||
//if a knockback helper is not passed then we ignore
|
||||
|
||||
Reference in New Issue
Block a user