I'd do something along the lines of this: PHP: $x = $player->getX();$y = $player->getY();$z = $player->getZ();while($player->getLevel()->getBlockIdAt($x, $y, $z) === 0) { $y--;}$player->teleport(new pocketmine\math\Vector3($x, $y, $z));
but doesnt that just trust and hope that on player's side they dont have anti "anti fly packet" blocker? and trust that they will fall