Fixed eco setting off it's own warnings

This commit is contained in:
Auxilor
2023-01-23 12:10:12 +00:00
parent ac10fa46dc
commit cee1ac4cc2

View File

@@ -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.");