From ca90c911281db452aa2bb3b51586e4e5fc12236a Mon Sep 17 00:00:00 2001 From: Bjarne Koll Date: Sun, 7 May 2023 14:14:34 +0200 Subject: [PATCH] Fix BlockPosition#offset(double,double,double) (#9190) --- patches/api/Add-Position.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/api/Add-Position.patch b/patches/api/Add-Position.patch index 4696c1e5a4..a7f40dd4a7 100644 --- a/patches/api/Add-Position.patch +++ b/patches/api/Add-Position.patch @@ -64,7 +64,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + + @Override + default @NotNull FinePosition offset(double x, double y, double z) { -+ return new FinePositionImpl(this.blockX() + z, this.blockY() + y, this.blockZ() + z); ++ return new FinePositionImpl(this.blockX() + x, this.blockY() + y, this.blockZ() + z); + } + + /**