diff options
-rw-r--r-- | features/events/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js index 63d8320..bccabe8 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -267,7 +267,10 @@ class Events extends Feature { if(this.shinyBlockOverlayEnabled.getValue()){ if(particle.toString().startsWith("EntitySpellParticleFX,")){ if(particle.getUnderlyingEntity().func_70534_d()===particle.getUnderlyingEntity().func_70535_g()){ - this.shinyBlocks.push([[particle.getX(), particle.getY(), particle.getZ()], Date.now()]) + let arr = [particle.getX(), particle.getY(), particle.getZ()] + if(arr.map(a=>Math.abs(a%1)).includes(0.25) || arr.map(a=>Math.abs(a%1)).includes(0.75)){ + this.shinyBlocks.push([[particle.getX(), particle.getY(), particle.getZ()], Date.now()]) + } } } } |