From 400b73c23266cc0ddbc179bb7e08c4f28a728faa Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 4 Jan 2014 22:14:57 +1300 Subject: [PATCH] Add arrow bot as a cancelled sound --- src/me/libraryaddict/disguise/utilities/DisguiseSound.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseSound.java b/src/me/libraryaddict/disguise/utilities/DisguiseSound.java index 5ce28a1f..df97a018 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseSound.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseSound.java @@ -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); }