mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-26 17:07:46 +01:00
Fix sprites plugin console spam
This commit is contained in:
parent
25d818ecbd
commit
5fbb232d69
@ -567,7 +567,7 @@ async function moduleWorker() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Don't bother classifying if current char has no sprites and no default expressions are enabled
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user