Version dump
This commit is contained in:
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)
|
||||
|
||||
+2
-1
@@ -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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user