This commit is contained in:
Mirco Wittrien 2019-09-06 00:41:08 +02:00
parent a7b48be391
commit 86eff4a10e
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1468,7 +1468,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
plugin.patchModules[patchtype] = plugin.patchModules[type];
delete plugin.patchModules[type];
}
if (!classOrBoolean) patchInstance(BDFDB.WebModules.findByName(type), patchtype);
if (!classOrBoolean) patchInstance(BDFDB.WebModules.findByName(mapped || type), patchtype);
else if (typeof classOrBoolean == 'boolean' || DiscordClasses[classOrBoolean]) checkForInstance(classOrBoolean, patchtype);
}
function patchInstance(instance, type) {