Added cooldown sound

This commit is contained in:
Auxilor 2020-11-07 13:39:14 +00:00
parent 8e0a0c4421
commit ad045cccb5

View File

@ -72,6 +72,7 @@ public abstract class Spell extends EcoEnchant {
if(msLeft > 0) {
String message = ConfigManager.getLang().getMessage("on-cooldown").replaceAll("%seconds%", String.valueOf(secondsLeft)).replaceAll("%name%", EnchantmentCache.getEntry(this).getRawName());
player.sendMessage(message);
player.playSound(player.getLocation(), Sound.BLOCK_NOTE_BLOCK_BASS, 1, 0.5f);
return;
}