Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2022-02-12 14:01:38 +01:00 committed by GitHub
parent 98eb04b1f3
commit 1194399c65
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 BDFDB
* @author DevilBro
* @authorId 278543574059057154
* @version 2.1.5
* @version 2.1.4
* @description Required Library for DevilBro's Plugins
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -19,7 +19,7 @@ module.exports = (_ => {
"info": {
"name": "BDFDB",
"author": "DevilBro",
"version": "2.1.5",
"version": "2.1.4",
"description": "Required Library for DevilBro's Plugins"
},
"rawUrl": `https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js`,
@ -8243,7 +8243,7 @@ module.exports = (_ => {
if (!module || !module.default) return;
plugin = plugin == BDFDB && InternalBDFDB || plugin;
const call = (props, returnValue, name) => {
if (!returnValue || !returnValue.props || !returnValue.props.children || false && returnValue.props.children.__BDFDBPatchesCalled && returnValue.props.children.__BDFDBPatchesCalled[plugin.name]) return;
if (!returnValue || !returnValue.props || !returnValue.props.children || returnValue.props.children.__BDFDBPatchesCalled && returnValue.props.children.__BDFDBPatchesCalled[plugin.name]) return;
returnValue.props.children.__BDFDBPatchesCalled = Object.assign({}, returnValue.props.children.__BDFDBPatchesCalled, {[plugin.name]: true});
return plugin[`on${type}`]({
instance: {props: props},