diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/dataLoader/index.js | 4 | ||||
-rw-r--r-- | features/slayers/index.js | 4 |
2 files changed, 4 insertions, 4 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"] } diff --git a/features/slayers/index.js b/features/slayers/index.js index d67d0b9..8827343 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -119,6 +119,8 @@ class Slayers extends Feature { } renderWorld(ticks){ + + if(this.emanBoss) drawBoxAtEntity(this.emanBoss, 0, 255, 0, 1, -3, ticks, 4, false) Object.values(this.beaconPoints).forEach(line=>{ let lastPoint = undefined @@ -138,8 +140,6 @@ class Slayers extends Feature { drawBoxAtBlock(x-0.5, y+0.7, z-0.5, 255, 0, 0) }) - if(this.emanBoss) drawBoxAtEntity(this.emanBoss, 0, 255, 0, 1, -3, ticks, 4, false) - Object.values(this.beaconLocations).forEach(loc=>{ drawFilledBox(loc[0]+0.5, loc[1], loc[2]+0.5, 1.01, 1.01, 0, 0, 1, 1, true) }) |