diff options
Diffstat (limited to 'features/hud')
-rw-r--r-- | features/hud/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/features/hud/index.js b/features/hud/index.js index b0bf45d..f3761d7 100644 --- a/features/hud/index.js +++ b/features/hud/index.js @@ -491,6 +491,14 @@ class Hud extends Feature { this.petElement.setText(this.petText) } + if (Date.now() - this.lastUpdatedStatData > 5 * 60000 && this.soulflowEnabledSetting.getValue()) { + + this.FeatureManager.features["dataLoader"].class.loadApiData("skyblock", false) + + this.lastUpdatedStatData = Date.now() + return + } + let soulflowCount = 0 let hasSoulflowItem = false Player.getInventory().getItems().forEach(i => { |