We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b40c9 commit 7e820d4Copy full SHA for 7e820d4
common/src/main/kotlin/com/lambda/interaction/request/rotation/visibilty/RotationTargets.kt
@@ -57,7 +57,7 @@ fun lookInDirection(direction: PlaceDirection) =
57
PlaceDirection.fromRotation(RotationManager.activeRotation) == direction
58
}) {
59
if (!direction.isInArea(RotationManager.activeRotation) || !direction.isInArea(player.rotation)) {
60
- RotationManager.activeRotation
+ direction.snapToArea(RotationManager.activeRotation)
61
} else {
62
player.rotation
63
}
0 commit comments