Change AdvancedPosition constructor to accept doubles for pitch and yaw, as the internal objects are doubles as well

This commit is contained in:
CrushedPixel
2015-09-09 18:22:01 +02:00
parent d736863b96
commit c4be5ec7e6

View File

@@ -33,7 +33,7 @@ public class AdvancedPosition extends Position {
this(e.posX, e.posY, e.posZ, e.rotationPitch, e.rotationYaw);
}
public AdvancedPosition(double x, double y, double z, float pitch, float yaw) {
public AdvancedPosition(double x, double y, double z, double pitch, double yaw) {
this(x, y, z, pitch, yaw, 0);
}