*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;
}
@Override
public double getYaw() {
return position.getYaw();
}
@Override
public double getPitch() {
return position.getPitch();
}
@Override
public WorldVector getBlockIn() {
WorldVector pos = getPosition();