*use correct yaw/pitch

This commit is contained in:
Jesse Boyd 2016-10-27 19:59:36 +11:00
parent 9d7a5e4344
commit 30ea572a8e
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -14,6 +14,16 @@ public class LocationMaskedPlayerWrapper extends PlayerWrapper {
this.position = position; this.position = position;
} }
@Override
public double getYaw() {
return position.getYaw();
}
@Override
public double getPitch() {
return position.getPitch();
}
@Override @Override
public WorldVector getBlockIn() { public WorldVector getBlockIn() {
WorldVector pos = getPosition(); WorldVector pos = getPosition();