Changing an actor's description after changing class.

I'm trying to change a character's description after changing class with this script:

class Game_Actor
  if @class_id == 2 and @actor_id == 1
    $game_actors[1].description = "I am a good robot! YAY!"
  $end
else
end
end

While it doesn't give an error, it doesn't seem to do anything.
Never mind, I worked around it... 

Original thread: https://forums.rpgmakerweb.com/threads/changing-an-actors-description-after-changing-class.56738/