From 259d21c5e8e3f46ef88024659d368ea74ed92047 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 1 Mar 2022 21:30:03 +0800 Subject: asd --- features/events/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'features/events') 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()]) + } } } } -- cgit