diff --git a/noname/ui/create/index.js b/noname/ui/create/index.js index c975bcbc4..9c6b9be45 100644 --- a/noname/ui/create/index.js +++ b/noname/ui/create/index.js @@ -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] &&