Fix the bug with pefix
This commit is contained in:
parent
75e48f2103
commit
04b6ccba63
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ module.exports = {
|
|||
}
|
||||
})
|
||||
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