File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Subject: [PATCH] Add Position
66
77diff --git a/src/main/java/io/papermc/paper/math/BlockPosition.java b/src/main/java/io/papermc/paper/math/BlockPosition.java
88new file mode 100644
9- index 0000000000000000000000000000000000000000..f164d32cfbd5bfd84f3067a149d34bb1185a7e00
9+ index 0000000000000000000000000000000000000000..f0fdabce4af640da2a406412e67020761ded3ac1
1010--- /dev/null
1111+++ b/src/main/java/io/papermc/paper/math/BlockPosition.java
1212@@ -0,0 +1,98 @@
@@ -64,7 +64,7 @@ index 0000000000000000000000000000000000000000..f164d32cfbd5bfd84f3067a149d34bb1
6464+
6565+ @Override
6666+ default @NotNull FinePosition offset(double x, double y, double z) {
67- + return new FinePositionImpl(this.blockX() + z , this.blockY() + y, this.blockZ() + z);
67+ + return new FinePositionImpl(this.blockX() + x , this.blockY() + y, this.blockZ() + z);
6868+ }
6969+
7070+ /**
You can’t perform that action at this time.
0 commit comments