mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-02-18 02:02:06 +01:00
fixed compile error
This commit is contained in:
parent
65bb90a100
commit
2e6199f574
@ -149,6 +149,6 @@ public abstract class MixinClientConnection extends SimpleChannelInboundHandler<
|
|||||||
if (this.encrypted) throw new IllegalStateException("Encryption is already enabled");
|
if (this.encrypted) throw new IllegalStateException("Encryption is already enabled");
|
||||||
this.encrypted = true;
|
this.encrypted = true;
|
||||||
|
|
||||||
this.channel.pipeline().addAfter(BedrockRakNetConstants.FRAME_ENCAPSULATION_HANDLER_NAME, BedrockRakNetConstants.ENCRYPTION_HANDLER_NAME, new AesGcmEncryption(secretKey));
|
this.channel.pipeline().addAfter(BedrockRakNetConstants.FRAME_ENCAPSULATION_HANDLER_NAME, BedrockRakNetConstants.ENCRYPTION_HANDLER_NAME, new AesEncryption(secretKey));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user