From cee1ac4cc251bf3cea0af00d1324d032ca034424 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 23 Jan 2023 12:10:12 +0000 Subject: [PATCH] Fixed eco setting off it's own warnings --- eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java b/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java index f23f4592..b703d019 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java +++ b/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java @@ -345,7 +345,7 @@ public abstract class EcoPlugin extends JavaPlugin implements PluginLike { this.langYml = this.createLangYml(); - if (!this.langYml.isValid()) { + if (!this.langYml.isValid() && !(this instanceof Eco)) { this.getLogger().warning("Notify plugin authors " + String.join(", ", this.getDescription().getAuthors()) + " that"); this.getLogger().warning("they are missing crucial lang.yml keys! They can be found"); this.getLogger().warning("in the LangYml class.");