aboutsummaryrefslogtreecommitdiff
path: root/features/events
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-01 15:33:01 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-01 15:33:01 +0800
commit8842bfabccde107cf916a57638d05dd23e2954a2 (patch)
tree869b32e38038dbfcdfb8eee8eee51a8bd628640e /features/events
parentf565ee8ccf8c3c3e9998ac1718b115f93af7c3fb (diff)
downloadSoopyV2-8842bfabccde107cf916a57638d05dd23e2954a2.tar.gz
SoopyV2-8842bfabccde107cf916a57638d05dd23e2954a2.tar.bz2
SoopyV2-8842bfabccde107cf916a57638d05dd23e2954a2.zip
+ map accuracy improvements
+ fix highlight shiny blocks
Diffstat (limited to 'features/events')
-rw-r--r--features/events/index.js2
1 files changed, 1 insertions, 1 deletions
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)