Add default

This commit is contained in:
libraryaddict 2024-01-19 01:20:10 +13:00
parent ca4d8638fd
commit b875c8fc97

View File

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