aboutsummaryrefslogtreecommitdiff
path: root/src/features/dataLoader/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-10-06 17:32:46 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-10-06 17:32:46 +0800
commitac4bec7b9a9feb8372ede945f9869c197789c660 (patch)
treef9e51136a48c1f13bd41a5e3b515e935a5e54ea8 /src/features/dataLoader/index.js
parent26996a65c93de407e4a12403f967b722a6dbf710 (diff)
downloadSoopyV2-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.js14
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()