Fix Reporter Stable Crashing
This commit is contained in:
parent
3f6b19bd2e
commit
1611b4e15b
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ export default definePlugin({
|
|||
// Uses the audio as-is if external, otherwise checks for an internal Discord sound.
|
||||
// Also force loads the internal sounds module to account for the second patch group below,
|
||||
// as well as accounting for not calling the module in this patch when this.type is not DISCORD.
|
||||
match: /(let \i=class.{0,900}?new Audio;\i.src=)((\i\(\d+\))\(`\.\/\$\{)this.name(\}\.mp3`\))/,
|
||||
match: /(let \i=class.{0,900}?new Audio;\i.src=)((\i\(\d+\))(?:\(`\.\/\$\{|.{0,50}concat\())this.name((?:\}\.mp3`|,".mp3"\))\))/,
|
||||
replace: "$3;$1this.type!==$self.AudioType.DISCORD?this.audio:$2this.audio$4"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue