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/dataLoader/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/dataLoader/index.js')
-rw-r--r-- | src/features/dataLoader/index.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/features/dataLoader/index.js b/src/features/dataLoader/index.js index 4745d85..b119a2b 100644 --- a/src/features/dataLoader/index.js +++ b/src/features/dataLoader/index.js @@ -16,6 +16,13 @@ class DataLoader extends Feature { this.area = undefined this.areaFine = undefined + this.lastApiData = { + "skyblock": undefined, + "player": undefined, + "skyblock_raw": undefined, //the _raw is loaded from hypixel api instead of soopy api + "player_raw": undefined + } + this.isInSkyblock = false this.dungeonPercentCleared = 0 @@ -61,13 +68,6 @@ class DataLoader extends Feature { this.partyMembers = new Set() this.partyMembers.add(Player.getName()) - this.lastApiData = { - "skyblock": undefined, - "player": undefined, - "skyblock_raw": undefined, //the _raw is loaded from hypixel api instead of soopy api - "player_raw": undefined - } - this.worldLoaded = true this.loadApi() |