cherry pick Allow freeLook when using elytra
This commit is contained in:
@@ -149,6 +149,7 @@ public final class LookBehavior extends Behavior implements ILookBehavior {
|
||||
public void onPlayerRotationMove(RotationMoveEvent event) {
|
||||
if (this.target != null) {
|
||||
event.setYaw(this.target.rotation.getYaw());
|
||||
event.setPitch(this.target.rotation.getPitch());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user