From 553ea3e5f322a3b9ae0f4941f486453ff47afebd Mon Sep 17 00:00:00 2001 From: Joshua Castle <26531652+Kas-tle@users.noreply.github.com> Date: Mon, 13 Mar 2023 22:06:41 -0700 Subject: [PATCH] X is mirrored... Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com> --- .../geyser/registry/mappings/versions/MappingsReader_v1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v1.java b/core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v1.java index 9857768e9..2d5d859a3 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v1.java +++ b/core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v1.java @@ -435,7 +435,7 @@ public class MappingsReader_v1 extends MappingsReader { float offsetY = (float) boundingBox.getSizeY() * 8; float offsetZ = (float) boundingBox.getSizeZ() * 8; - float bottomCornerX = (float) boundingBox.getMiddleX() * 16 - 8 - offsetX; + float bottomCornerX = (float) Math.abs(boundingBox.getMiddleX() - 1) * 16 - 8 - offsetX; float bottomCornerY = (float) boundingBox.getMiddleY() * 16 - offsetY; float bottomCornerZ = (float) boundingBox.getMiddleZ() * 16 - 8 - offsetZ;