diff options
Diffstat (limited to 'features/dataLoader/index.js')
-rw-r--r-- | features/dataLoader/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/dataLoader/index.js b/features/dataLoader/index.js index 41f0c61..43b0f7a 100644 --- a/features/dataLoader/index.js +++ b/features/dataLoader/index.js @@ -46,7 +46,7 @@ class DataLoader extends Feature { } loadApiData(type, soopyServer){ - while(this.FeatureManager.features["globalSettings"] === undefined){ + while(this.FeatureManager.features["globalSettings"] === undefined || this.FeatureManager.features["globalSettings"].class.apiKeySetting === undefined){ Thread.sleep(100) } let key = this.FeatureManager.features["globalSettings"].class.apiKeySetting.getValue() |