From ad59eac0cff223f16ad809e2a39f8ced4b88212b Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 24 Jan 2020 23:53:38 +0100 Subject: [PATCH] removed the weird poof from the shockwave creator - how did it get here? --- .../java/de/ellpeck/naturesaura/items/ShockwaveCreator.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/de/ellpeck/naturesaura/items/ShockwaveCreator.java b/src/main/java/de/ellpeck/naturesaura/items/ShockwaveCreator.java index fc416ce2..0455a99f 100644 --- a/src/main/java/de/ellpeck/naturesaura/items/ShockwaveCreator.java +++ b/src/main/java/de/ellpeck/naturesaura/items/ShockwaveCreator.java @@ -104,8 +104,6 @@ public class ShockwaveCreator extends ItemImpl implements ITrinketItem { SoundType type = downState.getBlock().getSoundType(downState, worldIn, down, null); worldIn.playSound(null, pos, type.getBreakSound(), SoundCategory.BLOCKS, type.getVolume() * 0.5F, type.getPitch() * 0.8F); } - if (worldIn instanceof ServerWorld) - ((ServerWorld) worldIn).spawnParticle(ParticleTypes.POOF, living.posX, living.posY + 0.01F, living.posZ, 15, 0D, 0D, 0D, 0.15D); PacketHandler.sendToAllAround(worldIn, pos, 32, new PacketParticles((float) living.posX, (float) living.posY, (float) living.posZ, 11)); }