diff --git a/src/main/java/com/gmail/nossr50/util/spout/SpoutSoundUtils.java b/src/main/java/com/gmail/nossr50/util/spout/SpoutSoundUtils.java deleted file mode 100644 index ea5b34be5..000000000 --- a/src/main/java/com/gmail/nossr50/util/spout/SpoutSoundUtils.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.gmail.nossr50.util.spout; - -import org.bukkit.entity.Player; -import org.getspout.spoutapi.SpoutManager; - -import com.gmail.nossr50.mcMMO; - -public class SpoutSoundUtils { - /** - * Play noise on level-up. - * - * @param player The player who leveled up - */ - protected static void playLevelUpNoise(Player player, mcMMO plugin) { - SpoutManager.getSoundManager().playCustomSoundEffect(plugin, SpoutManager.getPlayer(player), "level.wav", false); - } -} diff --git a/src/main/java/com/gmail/nossr50/util/spout/SpoutUtils.java b/src/main/java/com/gmail/nossr50/util/spout/SpoutUtils.java index 5d0ea19c2..1f780b87f 100644 --- a/src/main/java/com/gmail/nossr50/util/spout/SpoutUtils.java +++ b/src/main/java/com/gmail/nossr50/util/spout/SpoutUtils.java @@ -533,7 +533,7 @@ public class SpoutUtils { } spoutPlayer.sendNotification(LocaleLoader.getString("Spout.LevelUp.1"), LocaleLoader.getString("Spout.LevelUp.2", SkillUtils.getSkillName(skillType), profile.getSkillLevel(skillType)), mat); - SpoutSoundUtils.playLevelUpNoise(spoutPlayer, plugin); + SpoutManager.getSoundManager().playCustomSoundEffect(plugin, spoutPlayer, "level.wav", false); } /**