fix (module): False hit fix Teleplane

This commit is contained in:
MDIC
2022-05-13 12:50:52 -04:00
parent 4eb49e2a16
commit e95d6eb1fc

View File

@@ -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;