fix(chat): add default to switch block

This commit is contained in:
SabreCat 2023-07-11 18:25:59 -05:00
parent 106a0c9ed8
commit 259f7ef588

View file

@ -120,6 +120,9 @@ export function translateMessage (lang, info) {
case 'claim_task':
msg = shared.i18n.t('userIsClamingTask', { username: info.user, task: info.task }, lang);
break;
default:
msg = "Error translating party chat. Unknown message type.";
}
if (!msg.includes('`')) {