diff --git a/native/src/main/java/com/velocitypowered/natives/encryption/NativeVelocityCipher.java b/native/src/main/java/com/velocitypowered/natives/encryption/NativeVelocityCipher.java index 51f5be745..81e778264 100644 --- a/native/src/main/java/com/velocitypowered/natives/encryption/NativeVelocityCipher.java +++ b/native/src/main/java/com/velocitypowered/natives/encryption/NativeVelocityCipher.java @@ -24,7 +24,7 @@ public class NativeVelocityCipher implements VelocityCipher { private final boolean encrypt; private boolean disposed = false; - private NativeVelocityCipher(boolean encrypt, SecretKey key) { + private NativeVelocityCipher(boolean encrypt, SecretKey key) throws GeneralSecurityException { this.encrypt = encrypt; this.ctx = impl.init(key.getEncoded()); }