From 3845a3cb3f8a6f919e67c4e9e8039900b0afce1a Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 25 Dec 2021 02:48:31 +0800 Subject: fix not in skyblock detection --- features/dataLoader/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'features/dataLoader') 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"] } -- cgit