mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 12:51:09 -05:00
Fix writing length in PacketMapChunk
This commit is contained in:
parent
9f7e7302a5
commit
3f0ad4b462
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ public class PacketMapChunk extends Packet {
|
|||
out.writeBoolean(this.groundUp);
|
||||
out.writeShort((short) (this.startY & 0xffff));
|
||||
out.writeShort((short) (this.endY & 0xffff));
|
||||
out.writeByte(this.length);
|
||||
out.writeInt(this.length);
|
||||
out.writeBytes(this.data, this.length);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue