2012-03-21 03:33:58 +01:00
|
|
|
package com.gmail.nossr50.spout;
|
|
|
|
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
import org.getspout.spoutapi.SpoutManager;
|
|
|
|
|
2012-06-07 00:02:22 +02:00
|
|
|
import com.gmail.nossr50.mcMMO;
|
2012-04-21 00:09:50 +02:00
|
|
|
|
2012-03-21 03:33:58 +01:00
|
|
|
public class SpoutSounds {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Play noise on level-up.
|
|
|
|
*
|
|
|
|
* @param player The player who leveled up
|
|
|
|
*/
|
2012-06-07 00:02:22 +02:00
|
|
|
protected static void playLevelUpNoise(Player player, mcMMO plugin) {
|
2013-02-28 17:24:38 +01:00
|
|
|
SpoutManager.getSoundManager().playCustomSoundEffect(plugin, SpoutManager.getPlayer(player), "level.wav", false);
|
2012-03-21 03:33:58 +01:00
|
|
|
}
|
|
|
|
}
|