diff --git a/plugin/src/main/java/me/libraryaddict/disguise/LibsDisguises.java b/plugin/src/main/java/me/libraryaddict/disguise/LibsDisguises.java index 6081f3f9..f7e859c9 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/LibsDisguises.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/LibsDisguises.java @@ -197,7 +197,7 @@ public class LibsDisguises extends JavaPlugin { int fileCount = ReflectionManager.getJarFileCount(getFile(), CompileMethods.ignoredDirectories()); - if (fileCount != pluginYml.getInt("file-count")) { + if (fileCount != pluginYml.getInt("file-count", fileCount)) { getLogger().severe( "Lib's Disguises may be infected with malware, please redownload from a trusted source such as SpigotMC. If this warning shows even after" + " updating, please contact libraryaddict on discord https://discord.gg/J5XRqYX");