diff --git a/noname/ui/create/index.js b/noname/ui/create/index.js index 235a5cbc9..0d088100b 100644 --- a/noname/ui/create/index.js +++ b/noname/ui/create/index.js @@ -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] &&