mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix sprites plugin console spam
This commit is contained in:
@ -567,7 +567,7 @@ async function moduleWorker() {
|
||||
}
|
||||
|
||||
// Don't bother classifying if current char has no sprites and no default expressions are enabled
|
||||
if (spriteCache[spriteFolderName].length === 0 && !extension_settings.expressions.showDefault) {
|
||||
if ((!Array.isArray(spriteCache[spriteFolderName]) || spriteCache[spriteFolderName].length === 0) && !extension_settings.expressions.showDefault) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user