Fix player entity meta data

I'm not 100% confident that what I'm doing here is correct, but looking at http://wiki.vg/Pre-release_protocol#Spawn_Player I think I'm doing it right.

fixes #58
This commit is contained in:
gigosaurus 2016-03-03 00:06:13 +00:00
parent 3e30d989a0
commit 573dcc10b1

View File

@ -393,6 +393,9 @@ public class OutgoingTransformer {
byte yaw = input.readByte();
output.writeByte(yaw);
// next field is Current Item, this was removed in 1.9 so we'll ignore it
input.readShort();
transformMetadata(id, input, output);
return;