Skip to content

Commit

Permalink
feat: Add blast sound on firework explosion
Browse files Browse the repository at this point in the history
  • Loading branch information
heyxmirko committed May 5, 2024
1 parent ebee2d7 commit cf7fcf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.lukyn76</groupId>
<artifactId>ImageFireworksPro</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
<packaging>jar</packaging>

<name>ImageFireworksPro</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
package me.lukyn76.imagefireworkspro.core;

import me.lukyn76.imagefireworkspro.ImageFireworksPro;
import org.bukkit.Bukkit;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.Particle;
import org.bukkit.*;
import org.bukkit.scheduler.BukkitTask;

import javax.imageio.ImageIO;
Expand Down Expand Up @@ -45,6 +42,7 @@ public void setCustomModelData(int customModelData) {
}

public void explode(Location location, double yawRotation) throws IOException {
location.getWorld().playSound(location, Sound.ENTITY_FIREWORK_ROCKET_BLAST_FAR, 10F, 1F);
displayImage(location, yawRotation);
}

Expand Down

0 comments on commit cf7fcf6

Please sign in to comment.