Access Vector3d's fields directly instead of using getter which for some reason fails the gradle build task

This commit is contained in:
CrushedPixel
2015-07-14 04:31:32 +02:00
parent eb4f0fcc20
commit 25f7b8dd0c

View File

@@ -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