From 0b66dd61db74d6b48eff4084c46e6af204e4ba91 Mon Sep 17 00:00:00 2001 From: cosrnic <75631523+cosrnic@users.noreply.github.com> Date: Sat, 24 Feb 2024 00:45:54 +0000 Subject: [PATCH] Change offset to withOffset --- src/main/java/net/minestom/server/collision/BoundingBox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/collision/BoundingBox.java b/src/main/java/net/minestom/server/collision/BoundingBox.java index c27ec1137..2a8d331e3 100644 --- a/src/main/java/net/minestom/server/collision/BoundingBox.java +++ b/src/main/java/net/minestom/server/collision/BoundingBox.java @@ -131,7 +131,7 @@ public final class BoundingBox implements Shape { * @param offset the offset * @return a new bounding box with an offset. */ - public @NotNull BoundingBox offset(Point offset) { + public @NotNull BoundingBox wtihOffset(Point offset) { return new BoundingBox(this.width, this.height, this.depth, offset); }