fador/mineserver — pull request #186 by fredreichbier (2012-04-04 13:56:39+00:00)
Title: Added "head yaw" byte to the Spawn Mob packet. Fixes passiveMob plugin.

With the `passiveMobs` plugin enabled, the client died quickly after connecting to the server with a message like this:
```
java.io.IOException: Received string length longer than maximum allowed (7111 > 64)
at abs.a(SourceFile:197)
at aim.a(SourceFile:226)
at aay.a(SourceFile:45)
at abs.a(SourceFile:155)
at lg.e(SourceFile:189)
at lg.c(SourceFile:9)
at rl.run(SourceFile:76)
```

This happened because the Spawn Mob packet (server->client) lacked the "head yaw" byte ([see here](http://wiki.vg/Protocol#Spawn_Mob_.280x18.29), though I don't know for how long it has been around). This commit adds the byte to the packet. It's more a quickfix though because the head yaw isn't used in the server code, so I added a TODO.