Port the commit "Fix the bug with pefix" to the new codebase
This commit is contained in:
parent
9f789fccb1
commit
874991f8f0
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ export default function load (b) {
|
|||
}
|
||||
})
|
||||
b.on('plainchat', (msg) => {
|
||||
if (msg === `You now have the tag: ${parseMc(b.adPrefix).replaceAll('§', '&')}`) {
|
||||
if (msg === `You now have the tag: ${parseMc(b.adPrefix).replaceAll('§', '&')}` ||
|
||||
msg === 'Something went wrong while saving the prefix. Please check console.') { // Fix the prefix issue
|
||||
b.sc_tasks.playerlist_ads.failed = 0
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue