Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2022-10-26 14:09:11 +02:00
parent 60cf2f4386
commit ef9f258ad6
1 changed files with 1 additions and 1 deletions

View File

@ -1094,7 +1094,7 @@ module.exports = (_ => {
libraryCSS = css;
const backupObj = getBackup(dataFileName, dataFilePath);
if (backupObj.backup && backupObj.hashIsSame || true) parseData(backupObj.backup);
if (backupObj.backup && backupObj.hashIsSame) parseData(backupObj.backup);
else request.get(`https://mwittrien.github.io/BetterDiscordAddons/Library/_res/${dataFileName}`, (e, r, b) => {
if ((e || !b || r.statusCode != 200) && tryAgain) return BDFDB.TimeUtils.timeout(_ => requestLibraryData(), 10000);
if (!e && b && r.statusCode == 200) {