A man on the golf course swung his club at nothing and then moved closer to the ball