lib
This commit is contained in:
parent
52319bd987
commit
b46e9640ee
|
@ -47,7 +47,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
||||||
|
|
||||||
for (let name in BDFDB.myPlugins) if (!BDFDB.myPlugins[name].started && typeof BDFDB.myPlugins[name].initialize == "function") {
|
for (let name in BDFDB.myPlugins) if (!BDFDB.myPlugins[name].started && typeof BDFDB.myPlugins[name].initialize == "function") {
|
||||||
try {BDFDB.myPlugins[name].initialize();}
|
try {BDFDB.myPlugins[name].initialize();}
|
||||||
catch (err) {console.error(`%c[${plugin.name}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not initiate plugin! " + err);}
|
catch (err) {console.error(`%c[${name}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not initiate plugin! " + err);}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
BDFDB.PluginUtils.clear = function (plugin) {
|
BDFDB.PluginUtils.clear = function (plugin) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue