lib
This commit is contained in:
parent
296818dd91
commit
a7b48be391
File diff suppressed because one or more lines are too long
|
@ -1468,7 +1468,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
||||||
plugin.patchModules[patchtype] = plugin.patchModules[type];
|
plugin.patchModules[patchtype] = plugin.patchModules[type];
|
||||||
delete plugin.patchModules[type];
|
delete plugin.patchModules[type];
|
||||||
}
|
}
|
||||||
if (!classOrBoolean) patchInstance(BDFDB.WebModules.findByName(patchtype), patchtype);
|
if (!classOrBoolean) patchInstance(BDFDB.WebModules.findByName(type), patchtype);
|
||||||
else if (typeof classOrBoolean == 'boolean' || DiscordClasses[classOrBoolean]) checkForInstance(classOrBoolean, patchtype);
|
else if (typeof classOrBoolean == 'boolean' || DiscordClasses[classOrBoolean]) checkForInstance(classOrBoolean, patchtype);
|
||||||
}
|
}
|
||||||
function patchInstance(instance, type) {
|
function patchInstance(instance, type) {
|
||||||
|
|
Loading…
Reference in New Issue