bugfix
This commit is contained in:
parent
351e84b675
commit
3e896221d7
|
@ -1416,7 +1416,7 @@ export class Create extends Uninstantable {
|
||||||
Object.keys(lib.characterPack).filter(key=>{
|
Object.keys(lib.characterPack).filter(key=>{
|
||||||
if(key.indexOf('mode_extension')!=0)return false;
|
if(key.indexOf('mode_extension')!=0)return false;
|
||||||
const extName = key.slice(15);
|
const extName = key.slice(15);
|
||||||
if (!game.hasExtension(extName) || !game.hasExtensionLoaded(extName)) return false;
|
//if (!game.hasExtension(extName) || !game.hasExtensionLoaded(extName)) return false;
|
||||||
return lib.config[`extension_${extName}_characters_enable`] === true;
|
return lib.config[`extension_${extName}_characters_enable`] === true;
|
||||||
}).forEach(key=>packlist.add(key));
|
}).forEach(key=>packlist.add(key));
|
||||||
for (var i = 0; i < packlist.length; i++) {
|
for (var i = 0; i < packlist.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue