aboutsummaryrefslogtreecommitdiff
path: root/features/dataLoader
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-25 02:48:31 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-25 02:48:31 +0800
commit3845a3cb3f8a6f919e67c4e9e8039900b0afce1a (patch)
tree49a98e7c86daa4d1a1a311aa25ec61e624e308f0 /features/dataLoader
parent94e8b483dd90db6b5695da482692c0a4e968db69 (diff)
downloadSoopyV2-3845a3cb3f8a6f919e67c4e9e8039900b0afce1a.tar.gz
SoopyV2-3845a3cb3f8a6f919e67c4e9e8039900b0afce1a.tar.bz2
SoopyV2-3845a3cb3f8a6f919e67c4e9e8039900b0afce1a.zip
fix not in skyblock detection
Diffstat (limited to 'features/dataLoader')
-rw-r--r--features/dataLoader/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/dataLoader/index.js b/features/dataLoader/index.js
index 42d0ec5..e24c34c 100644
--- a/features/dataLoader/index.js
+++ b/features/dataLoader/index.js
@@ -78,7 +78,7 @@ class DataLoader extends Feature {
}
})
}
-
+
if(this.stats["Dungeon"]){
this.stats["Area"] = this.stats["Dungeon"]
this.isInDungeon = true
@@ -105,7 +105,7 @@ class DataLoader extends Feature {
}
})
- this.isInSkyblock = Scoreboard.getTitle()?.removeFormatting().endsWith("SKYBLOCK")
+ this.isInSkyblock = Scoreboard.getTitle()?.removeFormatting().includes("SKYBLOCK")
this.area = this.stats["Area"]
}