From c29075511ecac02d79ae755c3e05687768d93804 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Wed, 8 Sep 2021 16:33:14 +0200 Subject: [PATCH] Makes the encryption style default to substitution --- .../knarcraft/bookswithoutborders/state/EncryptionStyle.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/knarcraft/bookswithoutborders/state/EncryptionStyle.java b/src/main/java/net/knarcraft/bookswithoutborders/state/EncryptionStyle.java index ea9f87b..fb10b43 100644 --- a/src/main/java/net/knarcraft/bookswithoutborders/state/EncryptionStyle.java +++ b/src/main/java/net/knarcraft/bookswithoutborders/state/EncryptionStyle.java @@ -5,7 +5,7 @@ package net.knarcraft.bookswithoutborders.state; */ public enum EncryptionStyle { DNA("dna"), - SUBSTITUTION(""); + SUBSTITUTION("substitution"); private final String name; @@ -25,6 +25,6 @@ public enum EncryptionStyle { return style; } } - return null; + return SUBSTITUTION; } }