diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-08 10:33:14 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-08 10:33:14 +0800 |
commit | 9efaf2250303d44089b2993af6f532921919f2fa (patch) | |
tree | b2aa299d28f197afee275151f7f816f035467a1e /features/dungeonSolvers/index.js | |
parent | bfcb5697c06cef2df9b39272397c433299f6350c (diff) | |
download | SoopyV2-9efaf2250303d44089b2993af6f532921919f2fa.tar.gz SoopyV2-9efaf2250303d44089b2993af6f532921919f2fa.tar.bz2 SoopyV2-9efaf2250303d44089b2993af6f532921919f2fa.zip |
+ inquis waypoints correctly dissapear when u dig a burrow
Diffstat (limited to 'features/dungeonSolvers/index.js')
-rw-r--r-- | features/dungeonSolvers/index.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js index a0353e3..64245fe 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -167,12 +167,12 @@ class DungeonSolvers extends Feature { 7: 360, }; - this.registerStep(true, 2, this.step).registeredWhen(()=>this.isInDungeon()); - this.registerStep(true, 10, this.step2).registeredWhen(()=>this.isInDungeon()); + this.registerStep(true, 2, this.step).registeredWhen(() => this.isInDungeon()); + this.registerStep(true, 10, this.step2).registeredWhen(() => this.isInDungeon()); this.registerEvent("worldLoad", this.onWorldLoad); - this.registerEvent("renderOverlay", this.renderHud).registeredWhen(()=>this.isInDungeon()); - this.registerEvent("renderWorld", this.renderWorld).registeredWhen(()=>this.isInDungeon()); + this.registerEvent("renderOverlay", this.renderHud).registeredWhen(() => this.isInDungeon()); + this.registerEvent("renderWorld", this.renderWorld).registeredWhen(() => this.isInDungeon()); this.bloodOpenedBonus = false; this.goneInBonus = false; @@ -200,7 +200,7 @@ class DungeonSolvers extends Feature { } } } - }).registeredWhen(()=>this.isInDungeon()) + }).registeredWhen(() => this.isInDungeon()) let mimicDeadMessages = ["$SKYTILS-DUNGEON-SCORE-MIMIC$", "Mimic Killed!", "Mimic Dead!", "Mimic dead!"] this.registerChat("&r&9Party &8> ${msg}", (msg) => { mimicDeadMessages.forEach(dmsg => { @@ -242,7 +242,7 @@ class DungeonSolvers extends Feature { } }); - this.registerForge(net.minecraftforge.event.entity.EntityJoinWorldEvent, this.entityJoinWorldEvent).registeredWhen(()=>this.isInDungeon()); + this.registerForge(net.minecraftforge.event.entity.EntityJoinWorldEvent, this.entityJoinWorldEvent).registeredWhen(() => this.isInDungeon()); // this.registerEvent("renderEntity", this.renderEntity) this.renderEntityEvent = undefined; @@ -711,7 +711,7 @@ class DungeonSolvers extends Feature { } step() { - if (!TabList || !TabList.getNames()) return + if (!Player.getX()) return World.getAllPlayers().forEach((p) => { this.nameToUuid[p.getName().toLowerCase()] = p.getUUID().toString() }) |