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,17 +1305,19 @@ export class Create {
}
} else {
for (var i in lib.character) {
if (lib.character[i][4].includes("minskin")) continue;
if (
lib.character[i][4].includes("boss") ||
lib.character[i][4].includes("hiddenboss")
) {
if (lib.config.mode == "boss") continue;
if (!lib.character[i][4].includes("bossallowed")) continue;
}
if(lib.character[i][4]) {
if (lib.character[i][4].includes("minskin")) continue;
if (
lib.character[i][4].includes("boss") ||
lib.character[i][4].includes("hiddenboss")
) {
if (lib.config.mode == "boss") continue;
if (!lib.character[i][4].includes("bossallowed")) continue;
}
if (lib.character[i][4].includes("stonehidden")) continue;
if (lib.character[i][4].includes("unseen")) continue;
if (lib.character[i][4].includes("stonehidden")) continue;
if (lib.character[i][4].includes("unseen")) continue;
}
if (lib.config.banned.includes(i)) continue;
if (
lib.characterFilter[i] &&