Version dump

This commit is contained in:
games647 committed 2017-09-03 20:06:00 +02:00
1 parent bb240d3aa0
commit 7f51659cc7
6 files changed
+8 -7

No files matched your search

@@ -83,7 +83,7 @@ public class EncryptionUtil {
* @param cipher decryption cipher
* @param privateKey private key of the server
* @param sharedKey the encrypted shared key
* @return
* @return shared secret key
* @throws GeneralSecurityException
*/
public static SecretKey decryptSharedKey(Cipher cipher, PrivateKey privateKey, byte[] sharedKey)
@@ -26,7 +26,8 @@ public class ProtocolLibListener extends PacketAdapter {
public ProtocolLibListener(FastLoginBukkit plugin) {
//run async in order to not block the server, because we are making api calls to Mojang
super(params().plugin(plugin)
super(params()
.plugin(plugin)
.types(START, ENCRYPTION_BEGIN)
.optionAsync());