Chat disabled in client options
This commit is contained in:
parent
05c3e3b4d2
commit
c73409b2a1
1 changed files with 2 additions and 1 deletions
|
@ -76,7 +76,8 @@ module.exports = {
|
||||||
b.sc_tasks.respawn.failed = 0
|
b.sc_tasks.respawn.failed = 0
|
||||||
})
|
})
|
||||||
b.on('chat', (data) => {
|
b.on('chat', (data) => {
|
||||||
if (data.json.translate === 'chat.disabled.options' || (data.json.extra && data.json.extra[0] && data.json.extra[0].translate === 'chat.disabled.options')) {
|
if (data.json.translate === 'chat.disabled.options' || (data.json.extra && data.json.extra[0] && data.json.extra[0].translate === 'chat.disabled.options') ||
|
||||||
|
data.json.translate === 'Chat disabled in client options' || (data.json.extra && data.json.extra[0] && data.json.extra[0].translate === 'Chat disabled in client options')) {
|
||||||
b.sc_tasks.respawn.failed = 1
|
b.sc_tasks.respawn.failed = 1
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue