fix invalid-avatar set
This commit is contained in:
parent
8dd6ed7888
commit
eb889711f5
@ -102,7 +102,7 @@ async function getProsodyFilePaths (options: RegisterServerOptions): Promise<Pro
|
|||||||
}
|
}
|
||||||
|
|
||||||
let avatarSet: AvatarSet = (settings['avatar-set'] ?? 'sepia') as AvatarSet
|
let avatarSet: AvatarSet = (settings['avatar-set'] ?? 'sepia') as AvatarSet
|
||||||
if (!['sepia', 'cat', 'bird', 'fenec', 'abstract', 'legacy'].includes(avatarSet)) {
|
if (!['sepia', 'cat', 'bird', 'fenec', 'abstract', 'legacy', 'nctv'].includes(avatarSet)) {
|
||||||
logger.error('Invalid avatar-set setting, using sepia as default')
|
logger.error('Invalid avatar-set setting, using sepia as default')
|
||||||
avatarSet = 'sepia'
|
avatarSet = 'sepia'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user