mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-25 17:47:07 +00:00
refactor: remove heap-allocated AABBs
This commit is contained in:
@@ -1010,7 +1010,7 @@ void ClientConnection::handleMovePlayer(
|
||||
player->xd = player->yd = player->zd = 0;
|
||||
player->absMoveTo(x, y, z, yRot, xRot);
|
||||
packet->x = player->x;
|
||||
packet->y = player->bb->y0;
|
||||
packet->y = player->bb.y0;
|
||||
packet->z = player->z;
|
||||
packet->yView = player->y;
|
||||
connection->send(packet);
|
||||
|
||||
Reference in New Issue
Block a user