mirror of https://github.com/cabaletta/baritone
Apply processor to RotationMoveEvent
This commit is contained in:
parent
7e426bd2e8
commit
0682e63707
|
@ -145,7 +145,7 @@ public final class LookBehavior extends Behavior implements ILookBehavior {
|
|||
@Override
|
||||
public void onPlayerRotationMove(RotationMoveEvent event) {
|
||||
if (this.target != null) {
|
||||
final Rotation actual = this.target.rotation;
|
||||
final Rotation actual = this.processor.nextRotation(this.target.rotation);
|
||||
event.setYaw(actual.getYaw());
|
||||
event.setPitch(actual.getPitch());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue