Update checker.js

This commit is contained in:
Jasper
2022-09-14 20:49:20 +02:00
committed by GitHub
parent 5494e112c0
commit 62d950b1a6
+2 -2
View File
@@ -260,7 +260,7 @@ exports.checker = async () => {
//languagefile //languagefile
checkType(config.languagefile,"string","languagefile") checkType(config.languagefile,"string","languagefile")
const lf = config.languagefile const lf = config.languagefile
if (!lf.startsWith("custom") && !lf.startsWith("english") && !lf.startsWith("dutch") && !lf.startsWith("romanian") && !lf.startsWith("german") && !lf.startsWith("arabic") && !lf.startsWith("spanish")){ if (!lf.startsWith("custom") && !lf.startsWith("english") && !lf.startsWith("dutch") && !lf.startsWith("romanian") && !lf.startsWith("german") && !lf.startsWith("arabic") && !lf.startsWith("spanish") && !lf.startsWith("portuguese") && !lf.startsWith("french")){
createError("'languagefile' | invalid language, more info in the wiki") createError("'languagefile' | invalid language, more info in the wiki")
} }
@@ -363,4 +363,4 @@ exports.checker = async () => {
console.log("=> "+chalk.bgYellow("if you ignore warns, some things may work differently than expected!")) console.log("=> "+chalk.bgYellow("if you ignore warns, some things may work differently than expected!"))
} }
} }