Skip to content

Commit

Permalink
fix(ModernParticles): correct spawnParticle argument list for spawnFl…
Browse files Browse the repository at this point in the history
…ame, explosion (#1365)

Signed-off-by: TTtie <[email protected]>
  • Loading branch information
TTtie authored Jul 10, 2024
1 parent bff45b4 commit ef6195a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ public void beam(World world, Location location, DyeColor dyeColor) {

@Override
public void spawnFlame(World world, Location location) {
world.spawnParticle(Particle.FLAME, location, 40, 0, 0.15f, 0, 0, true);
world.spawnParticle(Particle.FLAME, location, 40, 0, 0.15f, 0, 0, null, true);
}

@Override
public void explosion(Player player, Location location) {
player.spawnParticle(Particle.EXPLOSION, location, 1, 0d, 0d, 0d, 0, true);
player.spawnParticle(Particle.EXPLOSION, location, 1, 0d, 0d, 0d, 0, null, true);
}
}

0 comments on commit ef6195a

Please sign in to comment.