From ac4bec7b9a9feb8372ede945f9869c197789c660 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 6 Oct 2022 17:32:46 +0800 Subject: Location hud element --- src/features/bestiary/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/features/bestiary') 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 => { -- cgit