Read full dig packet

This commit is contained in:
Myles 2016-03-07 23:52:12 +00:00
parent 6a449f8db1
commit 9144980474

View File

@ -98,7 +98,11 @@ public class IncomingTransformer {
} }
output.writeByte(status); output.writeByte(status);
// write remaining bytes // write remaining bytes
output.writeBytes(input); Long position = input.readLong();
output.writeLong(position);
int face = input.readUnsignedByte();
output.writeByte(face);
return; return;
} }
if (packet == PacketType.PLAY_HELD_ITEM_CHANGE_REQUEST) { if (packet == PacketType.PLAY_HELD_ITEM_CHANGE_REQUEST) {