Added Explosion instead of firework on hit.

This commit is contained in:
Bl4ckSkull666 2019-10-12 16:49:36 +02:00
parent 15deac3207
commit 976ad66371
2 changed files with 2 additions and 0 deletions

BIN
src/build/Quake.jar Normal file

Binary file not shown.

View File

@ -75,7 +75,9 @@ public class FireworkEffectPlayer {
}
public static void playFirework(Location loc) {
Random r = new Random();
loc.getWorld().spawnParticle(Particle.EXPLOSION_HUGE, loc, 1);
loc.getWorld().spawnParticle(Particle.FLAME, loc, r.nextInt(51) + r.nextInt(51), 0.02d, 0.02d, 0.02d, 0.08d);
}
public static void playFirework(Player p) {