Update ThemeRepo.plugin.js

This commit is contained in:
Mirco Wittrien 2022-06-07 12:12:47 +02:00 committed by GitHub
parent f83c51de6a
commit c84d7f4262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @name ThemeRepo * @name ThemeRepo
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 2.3.1 * @version 2.3.2
* @description Allows you to download all Themes from BD's Website within Discord * @description Allows you to download all Themes from BD's Website within Discord
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": { "info": {
"name": "ThemeRepo", "name": "ThemeRepo",
"author": "DevilBro", "author": "DevilBro",
"version": "2.3.1", "version": "2.3.2",
"description": "Allows you to download all Themes from BD's Website within Discord" "description": "Allows you to download all Themes from BD's Website within Discord"
} }
}; };
@ -1471,7 +1471,7 @@ module.exports = (_ => {
} }
compareVersions (v1, v2) { compareVersions (v1, v2) {
return v1 == v2 || BDFDB.NumberUtils.compareVersions(v1, v2); return !(v1 == v2 || !BDFDB.NumberUtils.compareVersions(v1, v2));
} }
getInstalledTheme (theme) { getInstalledTheme (theme) {