fix ShowMeYourName

This commit is contained in:
Vendicated 2025-07-21 12:09:36 +02:00
parent 25cd6b7069
commit 113a1f4b86
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -50,8 +50,8 @@ export default definePlugin({
{
find: '="SYSTEM_TAG"',
replacement: {
match: /(?<=onContextMenu:\i,children:)\i/,
replace: "$self.renderUsername(arguments[0])"
match: /(?<=onContextMenu:\i,children:)\i\?/,
replace: "$self.renderUsername(arguments[0]),_oldChildren:$&"
}
},
],