Don't make the player null, keep it in the pathfinder