Merge pull request #1254 from lieren2023/lieren2023-patch-3

ui.create.characterDialog函数修复
This commit is contained in:
Spmario233 2024-04-21 22:13:12 +08:00 committed by GitHub
commit f4708cb0ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 10 deletions

View File

@ -1305,6 +1305,7 @@ export class Create {
} }
} else { } else {
for (var i in lib.character) { for (var i in lib.character) {
if(lib.character[i][4]) {
if (lib.character[i][4].includes("minskin")) continue; if (lib.character[i][4].includes("minskin")) continue;
if ( if (
lib.character[i][4].includes("boss") || lib.character[i][4].includes("boss") ||
@ -1316,6 +1317,7 @@ export class Create {
if (lib.character[i][4].includes("stonehidden")) continue; if (lib.character[i][4].includes("stonehidden")) continue;
if (lib.character[i][4].includes("unseen")) continue; if (lib.character[i][4].includes("unseen")) continue;
}
if (lib.config.banned.includes(i)) continue; if (lib.config.banned.includes(i)) continue;
if ( if (
lib.characterFilter[i] && lib.characterFilter[i] &&