Add changelog and travis integration for automatic tests

This commit is contained in:
games647
2015-11-03 18:13:50 +01:00
parent fdc2772f38
commit fa46dc690b
4 changed files with 48 additions and 5 deletions

View File

@@ -117,8 +117,7 @@ public class StartPacketListener extends PacketAdapter {
* key=public server key
* verifyToken=random 4 byte array
*/
PacketContainer newPacket = protocolManager
.createPacket(PacketType.Login.Server.ENCRYPTION_BEGIN, true);
PacketContainer newPacket = protocolManager.createPacket(PacketType.Login.Server.ENCRYPTION_BEGIN, true);
newPacket.getSpecificModifier(PublicKey.class).write(0, plugin.getServerKey().getPublic());
//generate a random token which should be the same when we receive it from the client