Access Vector3d's fields directly instead of using getter which for some reason fails the gradle build task
This commit is contained in:
@@ -62,7 +62,7 @@ public class AdvancedPosition extends Position {
|
||||
|
||||
Vector3d position = new Vector3d(x, y, z);
|
||||
position.add(direction);
|
||||
return new AdvancedPosition(position.getX(), position.getY(), position.getZ(), pitch, yaw, roll, null);
|
||||
return new AdvancedPosition(position.x, position.y, position.z, pitch, yaw, roll, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user