diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-24 18:25:35 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-24 18:25:35 +0800 |
commit | 138e8df47f117743b6386cf43bb2acb129f699a1 (patch) | |
tree | aa9212a7a60eb75f679bc9e0e6a0433390d52401 /features | |
parent | a9b64d621f31d7b3f92c27115c2bb50139788e15 (diff) | |
download | SoopyV2-138e8df47f117743b6386cf43bb2acb129f699a1.tar.gz SoopyV2-138e8df47f117743b6386cf43bb2acb129f699a1.tar.bz2 SoopyV2-138e8df47f117743b6386cf43bb2acb129f699a1.zip |
fix potential bug when loading slayer
Diffstat (limited to 'features')
-rw-r--r-- | features/slayers/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js index 55748ab..c09efd7 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -61,7 +61,7 @@ class Slayers extends Feature { this.registerSoopy("apiLoad", this.apiLoad) - if(this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock){ + if(this.FeatureManager.features["dataLoader"] && this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock){ this.apiLoad(this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock, "skyblock", true, true) } |