def METHOD_NAME(x, y, map_id, default_z=0.0, is_rand_point=False) -> tuple:  # float, z_locked (Could not use map files Z)
    if map_id == -1 or (not config.Server.Settings.use_map_tiles and not config.Server.Settings.use_nav_tiles):
        return default_z, False
    else:
        from game.world.managers.maps.MapManager import MapManager
        # Calculate destination Z, default Z if not possible.
        return MapManager.METHOD_NAME(map_id, x, y, default_z, is_rand_point=is_rand_point)