diff --git a/src/configuration.json.example b/src/configuration.json.example index c269bf4..6348c8f 100644 --- a/src/configuration.json.example +++ b/src/configuration.json.example @@ -16,6 +16,7 @@ "convert.productdata": "1", "convert.figuremap": "1", "convert.effectmap": "1", + "convert.externaltexts": "1", "convert.figure": "1", "convert.effect": "1", "convert.furniture": "1", diff --git a/src/converters/effect/EffectDownloader.ts b/src/converters/effect/EffectDownloader.ts index de38157..3e974a6 100644 --- a/src/converters/effect/EffectDownloader.ts +++ b/src/converters/effect/EffectDownloader.ts @@ -29,7 +29,7 @@ export class EffectDownloader const existingFile = new File(directory.path + '/' + className + '.nitro'); - if(existingFile.isDirectory) continue; + if(existingFile.isDirectory()) continue; if(classNames.indexOf(className) >= 0) continue; diff --git a/src/converters/figure/FigureDownloader.ts b/src/converters/figure/FigureDownloader.ts index b359039..b790bcc 100644 --- a/src/converters/figure/FigureDownloader.ts +++ b/src/converters/figure/FigureDownloader.ts @@ -29,7 +29,7 @@ export class FigureDownloader const existingFile = new File(directory.path + '/' + className + '.nitro'); - if(existingFile.isDirectory) continue; + if(existingFile.isDirectory()) continue; if(className === 'hh_human_fx' || className === 'hh_pets') continue; diff --git a/src/converters/pet/PetDownloader.ts b/src/converters/pet/PetDownloader.ts index 5ee422f..12fdba8 100644 --- a/src/converters/pet/PetDownloader.ts +++ b/src/converters/pet/PetDownloader.ts @@ -25,7 +25,7 @@ export class PetDownloader { const existingFile = new File(directory.path + '/' + petType + '.nitro'); - if(existingFile.isDirectory) continue; + if(existingFile.isDirectory()) continue; if(classNames.indexOf(petType) >= 0) continue;