From cbf140cdfe79ad245550e3a175a9ffbdae5d8fc9 Mon Sep 17 00:00:00 2001 From: jojo Date: Sun, 16 Aug 2020 09:30:19 +0200 Subject: [PATCH] Fix Non Working Particle --- src/de/steamwar/lobby/listener/ParticleListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/lobby/listener/ParticleListener.java b/src/de/steamwar/lobby/listener/ParticleListener.java index 65cecbd..f4e03f3 100644 --- a/src/de/steamwar/lobby/listener/ParticleListener.java +++ b/src/de/steamwar/lobby/listener/ParticleListener.java @@ -35,9 +35,9 @@ public class ParticleListener implements Listener { if (particle == null) return; if (particle == Particle.SPELL) { - Particle.DustOptions dust = new Particle.DustOptions(Color.fromRGB(random.nextInt(256), random.nextInt(256), random.nextInt(256)), random.nextFloat() / 2 + 1); - player.getWorld().spawnParticle(particle, player.getLocation().add(0.0D, 0.2D, 0.0D), 5, dust); - return; + //Particle.DustOptions dust = new Particle.DustOptions(Color.fromRGB(random.nextInt(256), random.nextInt(256), random.nextInt(256)), random.nextFloat() / 2 + 1); + //player.getWorld().spawnParticle(particle, player.getLocation().add(0.0D, 0.2D, 0.0D), 5, dust); + //return; } if (lobbyPlayer.isCustomVelocity()) {