don't append the end position to the pathfinding if the pathfinding didn't find a way to get there