Fix EntityEquipment having the wrong byte length
This commit is contained in:
parent
1b2b1a091e
commit
8fc6836b29
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,6 @@ export class PacketEntityEquipment implements IPacket {
|
||||||
}
|
}
|
||||||
|
|
||||||
public writeData() {
|
public writeData() {
|
||||||
return createWriter(Endian.BE, 10).writeUByte(this.packetId).writeInt(this.entityId).writeShort(this.slot).writeShort(this.itemId).writeShort(this.damage).toBuffer();
|
return createWriter(Endian.BE, 11).writeUByte(this.packetId).writeInt(this.entityId).writeShort(this.slot).writeShort(this.itemId).writeShort(this.damage).toBuffer();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue