From 8842bfabccde107cf916a57638d05dd23e2954a2 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Wed, 1 Jun 2022 15:33:01 +0800 Subject: + map accuracy improvements + fix highlight shiny blocks --- features/events/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/events') diff --git a/features/events/index.js b/features/events/index.js index 9ff7078..9e08d94 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -57,7 +57,7 @@ class Events extends Feature { this.shinyBlockOverlayEnabled = new ToggleSetting("Shiny blocks highlight", "Will highlight shiny blocks in the end", false, "shiny_blocks_overlay", this) this.registerEvent("worldLoad", this.worldLoad) - this.registerEvent("spawnParticle", this.spawnParticle).registeredWhen(() => this.showingWaypoints) + this.registerEvent("spawnParticle", this.spawnParticle).registeredWhen(() => this.showingWaypoints || this.shinyBlockOverlayEnabled.getValue()) this.registerEvent("renderWorld", this.renderWorld).registeredWhen(() => this.showingWaypoints || this.shinyBlockOverlayEnabled.getValue()) this.registerStep(true, 2, this.step) this.registerStep(false, 5, this.step_5s) -- cgit