Add arrow bot as a cancelled sound

This commit is contained in:
libraryaddict 2014-01-04 22:14:57 +13:00
parent dd45458cde
commit 400b73c232

View File

@ -3,13 +3,13 @@ package me.libraryaddict.disguise.utilities;
import java.util.HashMap;
import java.util.HashSet;
import org.bukkit.Sound;
/**
* Only living disguises go in here!
*/
public enum DisguiseSound {
ARROW(null, null, null, null, "random.bowhit"),
BAT("mob.bat.hurt", null, "mob.bat.death", "mob.bat.idle", "damage.fallsmall", "mob.bat.loop", "damage.fallbig",
"mob.bat.takeoff"),
@ -183,10 +183,6 @@ public enum DisguiseSound {
return null;
}
public boolean isCancelled(String soundName) {
return cancelSounds.contains(soundName);
}
public boolean isCancelSound(String sound) {
return getSoundsToCancel().contains(sound);
}