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

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());