Add missing annotation

This commit is contained in:
TheMode 2021-07-03 02:45:17 +02:00
parent f44fd0af8c
commit dd1bf74837

View File

@ -29,7 +29,7 @@ public interface Pos extends Point {
@NotNull Pos withCoord(double x, double y, double z);
@Contract(pure = true)
default @NotNull Pos withCoord(Vec vec) {
default @NotNull Pos withCoord(@NotNull Vec vec) {
return withCoord(vec.x(), vec.y(), vec.z());
}