ui.create.characterDialog函数修复

This commit is contained in:
lieren2023 2024-04-21 18:40:59 +08:00 committed by GitHub
parent effbeeb8f0
commit 3d977b2847
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 10 deletions

View File

@ -1299,17 +1299,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] &&