Set protocolVersion, fix a NPE

With Spigot build 1628 and above, the server checks the protocolVersion before sending the packets. It caused a NullPointerException to occur.

This commit fixes this by adding the protocolVersion.