From 0eb359d9ecc147ec7f30284a00dac20a9cd6ddf1 Mon Sep 17 00:00:00 2001 From: Holly Date: Mon, 30 Dec 2024 05:48:18 +0000 Subject: [PATCH] change order of stance and y on server -> client --- server/packets/PlayerPositionLook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/packets/PlayerPositionLook.ts b/server/packets/PlayerPositionLook.ts index 7aa8fbf..2bc3de4 100644 --- a/server/packets/PlayerPositionLook.ts +++ b/server/packets/PlayerPositionLook.ts @@ -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(); } } \ No newline at end of file