AccountPanelServerProfile: Fix Mistake

This commit is contained in:
thororen1234 2026-04-16 12:01:01 -04:00
parent ed9688983d
commit b0068dafac
No known key found for this signature in database

View file

@ -80,7 +80,7 @@ export default definePlugin({
group: true,
replacement: [
{
match: /(\.AVATAR,children:.+?renderPopout:\(?(\i)(?:,\i\)=>)?){(.+?)}(?=,position)(?<=currentUser:(\i).+?)/,
match: /(\.AVATAR,children:.+?renderPopout:\(?(\i)(?:,\i\))?=>){(.+?)}(?=,position)(?<=currentUser:(\i).+?)/,
replace: (_, rest, popoutProps, originalPopout, currentUser) => `${rest}$self.UserProfile({popoutProps:${popoutProps},currentUser:${currentUser},originalRenderPopout:()=>{${originalPopout}}})`
},
{