How do I stop my 2D paper sprite from rotating on any other axis?

it was a part of an attempted bug fix that didn’t work. It aint there anymore