Fix Patches

This commit is contained in:
thororen1234 2026-03-14 01:27:06 -04:00
parent 910ecf096f
commit d7f0d1788b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ export default definePlugin({
]
},
{
find: "onlineCount})})]",
find: ".onlineCount,memberCount:",
replacement: [
{
// make the button clickable

View file

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