aboutsummaryrefslogtreecommitdiff
path: root/src/features/bestiary/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/bestiary/index.js')
-rw-r--r--src/features/bestiary/index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/features/bestiary/index.js b/src/features/bestiary/index.js
index ead03ef..14c00b1 100644
--- a/src/features/bestiary/index.js
+++ b/src/features/bestiary/index.js
@@ -107,7 +107,7 @@ class Bestiary extends Feature {
})
this.registerSoopy("apiLoad", this.apiLoad);
- if (this.FeatureManager.features["dataLoader"] && this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock_raw) {
+ if (this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock_raw) {
this.apiLoad(this.FeatureManager.features["dataLoader"].class.lastApiData.skyblock_raw, "skyblock", false, true);
}
}
@@ -119,8 +119,6 @@ class Bestiary extends Feature {
}
updateHudElements() {
- if (!this.FeatureManager.features["dataLoader"]) return
-
let insb = this.FeatureManager.features["dataLoader"].class.isInSkyblock
this.hudStat.forEach(stat => {