fix weird angle forcing behavior, fixes #341

This commit is contained in:
Leijurv 2019-02-19 14:29:08 -08:00
parent a8ddb2fcf1
commit 8770524679
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public final class LookBehavior extends Behavior implements ILookBehavior {
@Override
public void onPlayerRotationMove(RotationMoveEvent event) {
if (this.target != null && !this.force) {
if (this.target != null) {
event.setYaw(this.target.getYaw());