diff --git a/src/main/java/dev/plex/util/PlexUtils.java b/src/main/java/dev/plex/util/PlexUtils.java index 45c7b0f..a410a78 100644 --- a/src/main/java/dev/plex/util/PlexUtils.java +++ b/src/main/java/dev/plex/util/PlexUtils.java @@ -71,7 +71,7 @@ public class PlexUtils extends PlexBase Particle.CLOUD.builder().location(location).receivers(player).extra(0).offset(0.5,0.5,0.5).count(5).spawn(); Particle.FLAME.builder().location(location).receivers(player).extra(0).offset(0.5,0.5,0.5).count(3).spawn(); Particle.SOUL_FIRE_FLAME.builder().location(location).receivers(player).offset(0.5,0.5,0.5).extra(0).count(2).spawn(); - player.playSound(net.kyori.adventure.sound.Sound.sound(org.bukkit.Sound.BLOCK_FIRE_EXTINGUISH.key(), net.kyori.adventure.sound.Sound.Source.BLOCK, 0.5f, 0.5f)); + player.playSound(location, org.bukkit.Sound.BLOCK_FIRE_EXTINGUISH, 0.5f, 0.5f); } public static ChatColor randomChatColor()