diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index 8f5adc81d4..7fffe1d78c 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -9747,14 +9747,15 @@ }; InternalBDFDB.processMessageHeader = function (e) { if (e.instance.props.message && e.instance.props.message.author) { - let avatarWrapper = BDFDB.ReactUtils.getValue(e, "returnvalue.props.children.0.props.children"); + let avatarWrapper = BDFDB.ReactUtils.getValue(e, "returnvalue.props.children.0"); if (avatarWrapper && avatarWrapper.props && typeof avatarWrapper.props.children == "function") { let renderChildren = avatarWrapper.props.children; avatarWrapper.props.children = (...args) => { let renderedChildren = renderChildren(...args); InternalBDFDB._processAvatarRender(e.instance.props.message.author, renderedChildren); - return renderChildren; + return renderedChildren; }; + console.log(avatarWrapper); } } };