diff options
Diffstat (limited to 'src/features/hud/index.js')
-rw-r--r-- | src/features/hud/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/hud/index.js b/src/features/hud/index.js index bd211e6..81f9285 100644 --- a/src/features/hud/index.js +++ b/src/features/hud/index.js @@ -311,12 +311,12 @@ class Hud 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) this.lastSwappedPet = Date.now() } - if (this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock_raw) { + if (this.FeatureManager.features["dataLoader"] && this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock_raw) { this.apiLoad(this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock_raw, "skyblock", false, true) } |