forked from mirrors/kolyah35-minecraft-pe-0.6.1
FIX: make antispeedhack working
This commit is contained in:
parent
1ec347d5d5
commit
4dc7055d9d
2 changed files with 17 additions and 35 deletions
|
|
@ -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, xxa, y - heightOffset, yya, xRot, yRot);
|
||||
MovePlayerPacket packet(entityId, x, y - heightOffset, z, xRot, yRot);
|
||||
minecraft->raknetInstance->send(packet);
|
||||
sentX = x;
|
||||
sentY = y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue