From 62751549975b3517115bd6134349897031d75822 Mon Sep 17 00:00:00 2001 From: TheMode Date: Mon, 5 Jul 2021 11:39:51 +0200 Subject: [PATCH] Public operator interfaces --- src/main/java/net/minestom/server/utils/coordinate/Pos.java | 2 +- src/main/java/net/minestom/server/utils/coordinate/Vec.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minestom/server/utils/coordinate/Pos.java b/src/main/java/net/minestom/server/utils/coordinate/Pos.java index d081ae8b5..6daafe716 100644 --- a/src/main/java/net/minestom/server/utils/coordinate/Pos.java +++ b/src/main/java/net/minestom/server/utils/coordinate/Pos.java @@ -204,7 +204,7 @@ public final class Pos implements Point { } @FunctionalInterface - interface Operator { + public interface Operator { @NotNull Pos apply(double x, double y, double z); } } diff --git a/src/main/java/net/minestom/server/utils/coordinate/Vec.java b/src/main/java/net/minestom/server/utils/coordinate/Vec.java index c6e9ab1e1..6c223d6be 100644 --- a/src/main/java/net/minestom/server/utils/coordinate/Vec.java +++ b/src/main/java/net/minestom/server/utils/coordinate/Vec.java @@ -391,7 +391,7 @@ public final class Vec implements Point { } @FunctionalInterface - interface Operator { + public interface Operator { @NotNull Vec apply(double x, double y, double z); }