Goalkeepers cannot score by throwing the ball directly into the opponents’ goal – if they do, a goal kick is awarded to the opposing team.
initially if a goalkeeper somehow (i dont know how) threw the ball from his own area and it ends up in the opponents goal it was always awarded as a goal but now the law has moved and its nolonger a goal same way it is with a throw in, because if someone throws the ball from anywhere into the opponents goal untouched then its not a goal.
BUT they have maintained that if a goalkeeper throws the ball into his own net then thats a goal, an own goal