change order of stance and y on server -> client
All checks were successful
Node.js Build / build (20.x) (push) Successful in 5m7s

This commit is contained in:
Holly Stubbs 2024-12-30 05:48:18 +00:00
parent 0aa60c82ff
commit 0eb359d9ec
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -45,6 +45,6 @@ export default class PacketPlayerPositionLook implements IPacket {
}
public writeData() {
return createWriter(Endian.BE, 42).writeUByte(this.packetId).writeDouble(this.x).writeDouble(this.y).writeDouble(this.stance).writeDouble(this.z).writeFloat(this.yaw).writeFloat(this.pitch).writeBool(this.onGround).toBuffer();
return createWriter(Endian.BE, 42).writeUByte(this.packetId).writeDouble(this.x).writeDouble(this.stance).writeDouble(this.y).writeDouble(this.z).writeFloat(this.yaw).writeFloat(this.pitch).writeBool(this.onGround).toBuffer();
}
}