mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-22 23:31:37 +01:00
Add missing annotation
This commit is contained in:
parent
f44fd0af8c
commit
dd1bf74837
@ -29,7 +29,7 @@ public interface Pos extends Point {
|
|||||||
@NotNull Pos withCoord(double x, double y, double z);
|
@NotNull Pos withCoord(double x, double y, double z);
|
||||||
|
|
||||||
@Contract(pure = true)
|
@Contract(pure = true)
|
||||||
default @NotNull Pos withCoord(Vec vec) {
|
default @NotNull Pos withCoord(@NotNull Vec vec) {
|
||||||
return withCoord(vec.x(), vec.y(), vec.z());
|
return withCoord(vec.x(), vec.y(), vec.z());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user