Set debug level to unshallow warnings

248132dd8938b0a485be80138c11afd1d098f932

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -3Showing whitespace changes
public/script.js+3 -3
@@ -6861,14 +6861,14 @@ export function buildAvatarList(block, entities, { templateId = 'inline_avatar_t
6861 */6861 */
6862export async function unshallowCharacter(characterId) {6862export async function unshallowCharacter(characterId) {
6863 if (characterId === undefined) {6863 if (characterId === undefined) {
6864 console.warn('Undefined character cannot be unshallowed');6864 console.debug('Undefined character cannot be unshallowed');
6865 return;6865 return;
6866 }6866 }
68676867
6868 /** @type {import('./scripts/char-data.js').v1CharData} */6868 /** @type {import('./scripts/char-data.js').v1CharData} */
6869 const character = characters[characterId];6869 const character = characters[characterId];
6870 if (!character) {6870 if (!character) {
6871 console.warn('Character not found:', characterId);6871 console.debug('Character not found:', characterId);
6872 return;6872 return;
6873 }6873 }
68746874
@@ -6879,7 +6879,7 @@ export async function unshallowCharacter(characterId) {
68796879
6880 const avatar = character.avatar;6880 const avatar = character.avatar;
6881 if (!avatar) {6881 if (!avatar) {
6882 console.warn('Character has no avatar field:', characterId);6882 console.debug('Character has no avatar field:', characterId);
6883 return;6883 return;
6884 }6884 }
68856885