Well, I can see you are setting it correctly, but where are you printing it out?
Does any other code rotate the player?