mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Fix writing field in PacketBlockAction. Thanks to Cr0s for the heads up with problems fixed in this commit and the previous one.
This commit is contained in:
parent
f65f0f59e5
commit
36b8747461
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class PacketBlockAction extends Packet {
|
||||||
@Override
|
@Override
|
||||||
public void write(NetOutput out) throws IOException {
|
public void write(NetOutput out) throws IOException {
|
||||||
out.writeInt(this.x);
|
out.writeInt(this.x);
|
||||||
out.writeInt(this.y);
|
out.writeShort(this.y);
|
||||||
out.writeInt(this.z);
|
out.writeInt(this.z);
|
||||||
out.writeByte(this.b1);
|
out.writeByte(this.b1);
|
||||||
out.writeByte(this.b2);
|
out.writeByte(this.b2);
|
||||||
|
|
Loading…
Reference in a new issue