diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-27 14:10:18 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-27 14:10:18 +0800 |
commit | 83036d85a38729adf8fad5bc9bf38a06c183adf0 (patch) | |
tree | d3aadf94e4f337a8645b689dafcc7ef3e783025f /features/hud | |
parent | 7c372e66ded6b80dbe58f8fc89d1ec14019bc5cb (diff) | |
download | SoopyV2-83036d85a38729adf8fad5bc9bf38a06c183adf0.tar.gz SoopyV2-83036d85a38729adf8fad5bc9bf38a06c183adf0.tar.bz2 SoopyV2-83036d85a38729adf8fad5bc9bf38a06c183adf0.zip |
+ bestiary hud elements (hopefully not scuffed)
Diffstat (limited to 'features/hud')
-rw-r--r-- | features/hud/index.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/features/hud/index.js b/features/hud/index.js index f375d41..947fef0 100644 --- a/features/hud/index.js +++ b/features/hud/index.js @@ -492,13 +492,6 @@ class Hud extends Feature { this.petElement.setText(this.petText) } - if (Date.now() - this.lastUpdatedStatData > 5 * 60000) { - - this.FeatureManager.features["dataLoader"].class.loadApiData("skyblock", false) - - this.lastUpdatedStatData = Date.now() - } - let soulflowCount = 0 let hasSoulflowItem = false Player.getInventory().getItems().forEach(i => { @@ -650,13 +643,6 @@ class Hud extends Feature { updateHudThingos() { let insb = this.FeatureManager.features["dataLoader"].class.isInSkyblock - if (Date.now() - this.lastUpdatedStatData > 5 * 60000 && this.hudStat[0].enabled.getValue() && (!this.lastStatData || insb || this.hudStat.map(a => (!a.enabled.getValue() || a.onlySb.getValue())).includes(false))) { - - this.FeatureManager.features["dataLoader"].class.loadApiData("skyblock", false) - - this.lastUpdatedStatData = Date.now() - return - } this.hudStat.forEach(stat => { if (stat.enabled.getValue()) { |