chore(Core/Player): remove unused AnticheatSetSkipOnePacketForASH() function (#17947)

This commit is contained in:
Tristan 'Natrist' Cormier
2023-12-08 19:09:52 -05:00
committed by GitHub
parent 4d935d6d8a
commit ac676f87ab
9 changed files with 0 additions and 54 deletions

View File

@@ -538,7 +538,6 @@ public:
pPlayer->SendMessageToSet(&data, true);
sScriptMgr->AnticheatSetUnderACKmount(pPlayer);
sScriptMgr->AnticheatSetSkipOnePacketForASH(pPlayer, true);
pPlayer->SetGuidValue(PLAYER_FARSIGHT, vp->GetGUID());
c->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
@@ -721,7 +720,6 @@ public:
if (Player* pPlayer = i->GetSource())
{
sScriptMgr->AnticheatSetUnderACKmount(pPlayer);
sScriptMgr->AnticheatSetSkipOnePacketForASH(pPlayer, true);
if (!pPlayer->IsAlive() || pPlayer->IsGameMaster())
continue;
@@ -908,7 +906,6 @@ public:
sScriptMgr->AnticheatSetCanFlybyServer(plr, false);
sScriptMgr->AnticheatSetUnderACKmount(plr);
sScriptMgr->AnticheatSetSkipOnePacketForASH(plr, true);
}
}
@@ -948,7 +945,6 @@ public:
plr->SetDisableGravity(true, true);
sScriptMgr->AnticheatSetCanFlybyServer(plr, true);
sScriptMgr->AnticheatSetSkipOnePacketForASH(plr, true);
sScriptMgr->AnticheatSetUnderACKmount(plr);
}