From 1f5e6d63e963dfc8f45cee7171293fb0313b0282 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 25 Oct 2023 16:35:08 +0200 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index edbf166a6e..b1e70e0a27 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -1377,6 +1377,7 @@ module.exports = (_ => { let amount = stringified.split(":\"").length - 1; return (!config.length || (config.smaller ? amount < config.length : amount == config.length)) && [props].flat(10).every(string => stringified.indexOf(`${string}:`) > -1) && m; }, {onlySearchUnloaded: true, all: config.all, defaultExport: config.defaultExport}); + if (!config.all && secondReturn) return secondReturn; return BDFDB.ArrayUtils.removeCopies([firstReturn].concat(secondReturn).flat(10)); };