This commit is contained in:
2026-03-29 00:16:19 +02:00
parent 470c28d83a
commit f016f00eab
5 changed files with 24 additions and 15 deletions

View File

@@ -438,7 +438,7 @@ void LocalPlayer::tick() {
{
if (std::abs(x - sentX) > .1f || std::abs(y - sentY) > .01f || std::abs(z - sentZ) > .1f || std::abs(sentRotX - xRot) > 1 || std::abs(sentRotY - yRot) > 1)
{
MovePlayerPacket packet(entityId, x, y - heightOffset, z, xRot, yRot);
MovePlayerPacket packet(entityId, xxa, y - heightOffset, yya, xRot, yRot);
minecraft->raknetInstance->send(packet);
sentX = x;
sentY = y;