From 7367f8feef5dfa3195609397ebc11afcbb396207 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Thu, 24 Dec 2020 18:10:28 +0000 Subject: [PATCH] Added annotations to BaseConfig --- .../src/main/java/com/willfp/eco/util/config/BaseConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eco-util/src/main/java/com/willfp/eco/util/config/BaseConfig.java b/eco-util/src/main/java/com/willfp/eco/util/config/BaseConfig.java index ddbf1f82..4e73c184 100644 --- a/eco-util/src/main/java/com/willfp/eco/util/config/BaseConfig.java +++ b/eco-util/src/main/java/com/willfp/eco/util/config/BaseConfig.java @@ -44,7 +44,8 @@ public abstract class BaseConfig extends PluginDependent { * @param configName The name of the config * @param removeUnused Whether keys not present in the default config should be removed on update. */ - protected BaseConfig(String configName, boolean removeUnused) { + protected BaseConfig(@NotNull final String configName, + final boolean removeUnused) { super(AbstractEcoPlugin.getInstance()); this.name = configName + ".yml"; this.removeUnused = removeUnused;