Archiviert
13
0

Fix Non Working Particle

Dieser Commit ist enthalten in:
jojo 2020-08-16 09:30:19 +02:00
Ursprung 87e3056e25
Commit cbf140cdfe

Datei anzeigen

@ -35,9 +35,9 @@ public class ParticleListener implements Listener {
if (particle == null) return; if (particle == null) return;
if (particle == Particle.SPELL) { 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); //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); //player.getWorld().spawnParticle(particle, player.getLocation().add(0.0D, 0.2D, 0.0D), 5, dust);
return; //return;
} }
if (lobbyPlayer.isCustomVelocity()) { if (lobbyPlayer.isCustomVelocity()) {