Skip to content

Commit

Permalink
fixed compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Mar 29, 2023
1 parent 65bb90a commit 2e6199f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,6 @@ public void viafabricplus_enableAesGcmEncryption(final SecretKey secretKey) thro
if (this.encrypted) throw new IllegalStateException("Encryption is already enabled");
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));
}
}

0 comments on commit 2e6199f

Please sign in to comment.