Change AdvancedPosition constructor to accept doubles for pitch and yaw, as the internal objects are doubles as well
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user