No point in having a class & method for one line of code.

This commit is contained in:
GJ 2013-04-18 09:19:48 -04:00
parent 8af425d067
commit 150fe730bd
2 changed files with 1 additions and 18 deletions

View File

@ -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);
}
}

View File

@ -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);
}
/**