aboutsummaryrefslogtreecommitdiff
path: root/src/features/dataLoader/index.js
diff options
context:
space:
mode:
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()