Added annotations to BaseConfig

This commit is contained in:
Auxilor 2020-12-24 18:10:28 +00:00
parent 6fa3330fc2
commit 7367f8feef

View File

@ -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;