diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-25 02:48:31 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-25 02:48:31 +0800 |
commit | 3845a3cb3f8a6f919e67c4e9e8039900b0afce1a (patch) | |
tree | 49a98e7c86daa4d1a1a311aa25ec61e624e308f0 /features/dataLoader | |
parent | 94e8b483dd90db6b5695da482692c0a4e968db69 (diff) | |
download | SoopyV2-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.js | 4 |
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"] } |