Mojira Archive
MC-83905

Compass animates incorrectly

Instead of the needle moving naturally to the proper position, the compass loops backwards all the way around to the correct position.

This happens on two different occasions:

  • when you are turning around and you face south,
  • when you move between the +X,+Z and +X,-Z quadrants.

A fix is attached, which keeps the angle's local variable in range, rather than just keeping certain return values in range.