mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-27 06:03:01 +02:00
Change offset to withOffset
This commit is contained in:
parent
49a4226ebb
commit
0b66dd61db
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user