Fix Plugin Finds

This commit is contained in:
thororen1234 2026-03-19 07:59:20 -04:00
parent c6e542e595
commit c42cf2e575
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ export default definePlugin({
patches: [
{
find: ".DISPLAY_NAME_STYLES_COACHMARK),",
find: ".DISPLAY_NAME_STYLES_COACHMARK)",
replacement: [
{
match: /(?<=className:(\i)\.\i,style:\i,)children:\[/,

View file

@ -172,7 +172,7 @@ export default definePlugin({
},
{
// Always show username
find: ".DISPLAY_NAME_STYLES_COACHMARK),",
find: ".DISPLAY_NAME_STYLES_COACHMARK)",
replacement: {
match: /hoverText:(\i),forceHover:\i,children:/g,
replace: "hoverText:$1,forceHover:!0,children:"

View file

@ -25,7 +25,7 @@ export default definePlugin({
patches: [
// Personal profile popout
{
find: ".WIDGETS_USER_PROFILE_ACCOUNT_POPOUT_NEW_BADGE]",
find: '"UserProfileAccountPopout"',
replacement: {
match: /user:(\i),bio:.{0,60}}\)/,
replace: "$&,$self.renderProfileSongs({userId:$1.id})",