Fix return types

This commit is contained in:
TheMode 2021-07-11 21:30:36 +02:00
parent 8597d93e22
commit 3031895ea8

View File

@ -203,13 +203,13 @@ public final class Pos implements Point {
@Override
@Contract(pure = true)
public @NotNull Point withZ(@NotNull DoubleUnaryOperator operator) {
public @NotNull Pos withZ(@NotNull DoubleUnaryOperator operator) {
return new Pos(x, y, operator.applyAsDouble(z));
}
@Override
@Contract(pure = true)
public @NotNull Point withZ(double z) {
public @NotNull Pos withZ(double z) {
return new Pos(x, y, z, yaw, pitch);
}