fix weird angle forcing behavior, fixes #341
This commit is contained in:
parent
a8ddb2fcf1
commit
8770524679
@ -103,7 +103,7 @@ public final class LookBehavior extends Behavior implements ILookBehavior {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPlayerRotationMove(RotationMoveEvent event) {
|
public void onPlayerRotationMove(RotationMoveEvent event) {
|
||||||
if (this.target != null && !this.force) {
|
if (this.target != null) {
|
||||||
|
|
||||||
event.setYaw(this.target.getYaw());
|
event.setYaw(this.target.getYaw());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user