From e95d6eb1fc9cda98e0b7047da32609beeab42693 Mon Sep 17 00:00:00 2001 From: MDIC Date: Fri, 13 May 2022 12:50:52 -0400 Subject: [PATCH] fix (module): False hit fix Teleplane --- src/AnticheatMgr.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 82eb64d..37007a5 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -168,6 +168,9 @@ void AnticheatMgr::TeleportPlaneHackDetection(Player* player, MovementInfo movem if (opcode == (MSG_MOVE_FALL_LAND)) return; + if (player->GetLiquidData().Status == LIQUID_MAP_ABOVE_WATER) + return; + if (movementInfo.HasMovementFlag(MOVEMENTFLAG_FALLING | MOVEMENTFLAG_SWIMMING)) return;