This commit is contained in:
Mirco Wittrien 2019-11-07 13:53:42 +01:00
parent 86d59b5645
commit a2b2cda834
2 changed files with 2 additions and 2 deletions

View File

@ -1000,7 +1000,7 @@ var BDFDB = {
}
}
else BDFDB.TimeUtils.suppress(data.callOriginalMethod, `originalMethod of ${modulefunction} in ${module.constructor ? module.constructor.displayName || module.constructor.name : "module"}`, pluginname)();
return data.returnValue;
return modulefunction == "render" && data.returnValue === undefined ? null : data.returnValue;
};
}
for (let type of WebModulesData.Patchtypes) if (typeof patchfunctions[type] == "function") module.BDFDBpatch[modulefunction][type][pluginid] = patchfunctions[type];

File diff suppressed because one or more lines are too long