From c5b72e1160433c242cb3553c4ba179759100076b Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Mon, 22 Jan 2024 15:06:08 +0900 Subject: [PATCH] =?UTF-8?q?newCryptos()=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/base/crypto/Cryptography.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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