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

@@ -1313,9 +1313,6 @@ void Player::SendTeleportAckPacket()
bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientation, uint32 options /*= 0*/, Unit* target /*= nullptr*/, bool newInstance /*= false*/)
{
// for except kick by antispeedhack
sScriptMgr->AnticheatSetSkipOnePacketForASH(this, true);
if (!MapMgr::IsValidMapCoord(mapid, x, y, z, orientation))
{
LOG_ERROR("entities.player", "TeleportTo: invalid map ({}) or invalid coordinates (X: {}, Y: {}, Z: {}, O: {}) given when teleporting player ({}, name: {}, map: {}, X: {}, Y: {}, Z: {}, O: {}).",