Set debug level to unshallow warnings
| @@ -6861,14 +6861,14 @@ export function buildAvatarList(block, entities, { templateId = 'inline_avatar_t | ||
| 6861 | 6861 | */ |
| 6862 | 6862 | export async function unshallowCharacter(characterId) { |
| 6863 | 6863 | if (characterId === undefined) { |
| 6864 | 6864 | console.warndebug('Undefined character cannot be unshallowed'); |
| 6865 | 6865 | return; |
| 6866 | 6866 | } |
| 6867 | 6867 | |
| 6868 | 6868 | /** @type {import('./scripts/char-data.js').v1CharData} */ |
| 6869 | 6869 | const character = characters[characterId]; |
| 6870 | 6870 | if (!character) { |
| 6871 | 6871 | console.warndebug('Character not found:', characterId); |
| 6872 | 6872 | return; |
| 6873 | 6873 | } |
| 6874 | 6874 | |
| @@ -6879,7 +6879,7 @@ export async function unshallowCharacter(characterId) { | ||
| 6879 | 6879 | |
| 6880 | 6880 | const avatar = character.avatar; |
| 6881 | 6881 | if (!avatar) { |
| 6882 | 6882 | console.warndebug('Character has no avatar field:', characterId); |
| 6883 | 6883 | return; |
| 6884 | 6884 | } |
| 6885 | 6885 | |