| 6861 | */ | 6861 | */ |
| 6862 | export async function unshallowCharacter(characterId) { | 6862 | export 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 | } |
| 6867 | | 6867 | |
| 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 | } |
| 6874 | | 6874 | |