diff --git a/src/main/java/cokr/xit/base/crypto/Cryptography.java b/src/main/java/cokr/xit/base/crypto/Cryptography.java index c0a03f8..e26b4ab 100644 --- a/src/main/java/cokr/xit/base/crypto/Cryptography.java +++ b/src/main/java/cokr/xit/base/crypto/Cryptography.java @@ -347,9 +347,9 @@ public abstract class Cryptography extends AbstractComponent { } public List newCryptos() { - return getCryptoDefs(null).stream() + return enabled ? getCryptoDefs(null).stream() .map(CryptoDef::newCrypto) - .toList(); + .toList() : Collections.emptyList(); } } } \ No newline at end of file