get.character函数强化兜底

This commit is contained in:
Spmario233 2024-05-07 20:31:12 +08:00
parent a012a0aca6
commit a9f7f85480
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ export class Get {
if (num === 3 || num === 4) return []; if (num === 3 || num === 4) return [];
return; return;
} }
return info || {}; return info || get.convertedCharacter({});
} }
characterInitFilter(name) { characterInitFilter(name) {
const info = get.character(name); const info = get.character(name);