This commit is contained in:
lowlighter
2022-08-28 13:34:36 -04:00
5 changed files with 13 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ metadata.plugin = async function({__plugins, __templates, name, logger}) {
//Format value
(defaulted => {
//Default value
let value = q[metadata.to.query(key)] ?? q[key] ?? defaulted
let value = (meta.category !== "core" ? q[`plugin.${metadata.to.query(key)}`] : null) ?? q[metadata.to.query(key)] ?? q[key] ?? defaulted
//Apply type conversion
switch (type) {
//Booleans