Fix OnePingPerDM and RoleColorEverywhere patches (#2387)
This commit is contained in:
parent
9e0aa4b23c
commit
4fce88fa8f
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ export default definePlugin({
|
||||||
replace: "$&if(!$self.isPrivateChannelRead(arguments[0]?.message))return;else "
|
replace: "$&if(!$self.isPrivateChannelRead(arguments[0]?.message))return;else "
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /sound:(\i\?\i:void 0,volume:\i,onClick)/,
|
match: /sound:(\i\?\i:void 0,soundpack:\i,volume:\i,onClick)/,
|
||||||
replace: "sound:!$self.isPrivateChannelRead(arguments[0]?.message)?undefined:$1"
|
replace: "sound:!$self.isPrivateChannelRead(arguments[0]?.message)?undefined:$1"
|
||||||
}]
|
}]
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -94,7 +94,7 @@ export default definePlugin({
|
||||||
find: "renderPrioritySpeaker",
|
find: "renderPrioritySpeaker",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /renderName\(\).{0,100}speaking:.{50,150}"div",{/,
|
match: /renderName\(\).{0,100}speaking:.{50,200}"div",{/,
|
||||||
replace: "$&...$self.getVoiceProps(this.props),"
|
replace: "$&...$self.getVoiceProps(this.props),"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue