diff --git a/src/main/java/ch/spacebase/mcprotocol/standard/packet/PacketBlockAction.java b/src/main/java/ch/spacebase/mcprotocol/standard/packet/PacketBlockAction.java index d21203b3..ae61d186 100644 --- a/src/main/java/ch/spacebase/mcprotocol/standard/packet/PacketBlockAction.java +++ b/src/main/java/ch/spacebase/mcprotocol/standard/packet/PacketBlockAction.java @@ -42,7 +42,7 @@ public class PacketBlockAction extends Packet { @Override public void write(NetOutput out) throws IOException { out.writeInt(this.x); - out.writeInt(this.y); + out.writeShort(this.y); out.writeInt(this.z); out.writeByte(this.b1); out.writeByte(this.b2);