From 066a2c5ac399f1168b94a47ec04055e0a81f4561 Mon Sep 17 00:00:00 2001 From: Bill Date: Mon, 22 Feb 2021 11:22:00 -0500 Subject: [PATCH] Fix downloaders --- src/configuration.json.example | 1 + src/converters/effect/EffectDownloader.ts | 2 +- src/converters/figure/FigureDownloader.ts | 2 +- src/converters/pet/PetDownloader.ts | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) 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;