mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
X is mirrored...
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
parent
b36ccbef19
commit
553ea3e5f3
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ public class MappingsReader_v1 extends MappingsReader {
|
||||||
float offsetY = (float) boundingBox.getSizeY() * 8;
|
float offsetY = (float) boundingBox.getSizeY() * 8;
|
||||||
float offsetZ = (float) boundingBox.getSizeZ() * 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 bottomCornerY = (float) boundingBox.getMiddleY() * 16 - offsetY;
|
||||||
float bottomCornerZ = (float) boundingBox.getMiddleZ() * 16 - 8 - offsetZ;
|
float bottomCornerZ = (float) boundingBox.getMiddleZ() * 16 - 8 - offsetZ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue