diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index 9204a0ef60..7123ce30a8 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -2443,7 +2443,7 @@ let defaults = (plugin.name == "$BDFDB" ? InternalBDFDB : plugin).defaults; if (!BDFDB.ObjectUtils.is(defaults) || !defaults[key]) return id === undefined ? {} : null; var oldconfig = BDFDB.DataUtils.load(plugin, key), newconfig = {}, update = false; - for (let k in defaultsObject.defaults[key]) { + for (let k in defaults[key]) { if (oldconfig[k] == null) { newconfig[k] = BDFDB.ObjectUtils.is(defaults[key][k].value) ? BDFDB.ObjectUtils.deepAssign({}, defaults[key][k].value) : defaults[key][k].value; update = true;