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:
Steveice10 2013-08-18 10:17:45 -07:00
parent f65f0f59e5
commit 36b8747461

View file

@ -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);