diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-10-06 17:32:46 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-10-06 17:32:46 +0800 |
commit | ac4bec7b9a9feb8372ede945f9869c197789c660 (patch) | |
tree | f9e51136a48c1f13bd41a5e3b515e935a5e54ea8 /src/features/bestiary/index.js | |
parent | 26996a65c93de407e4a12403f967b722a6dbf710 (diff) | |
download | SoopyV2-ac4bec7b9a9feb8372ede945f9869c197789c660.tar.gz SoopyV2-ac4bec7b9a9feb8372ede945f9869c197789c660.tar.bz2 SoopyV2-ac4bec7b9a9feb8372ede945f9869c197789c660.zip |
Location hud element
Diffstat (limited to 'src/features/bestiary/index.js')
-rw-r--r-- | src/features/bestiary/index.js | 4 |
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 => { |