mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Add arrow bot as a cancelled sound
This commit is contained in:
parent
dd45458cde
commit
400b73c232
1 changed files with 1 additions and 5 deletions
|
@ -3,13 +3,13 @@ package me.libraryaddict.disguise.utilities;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
|
||||||
|
|
||||||
import org.bukkit.Sound;
|
import org.bukkit.Sound;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Only living disguises go in here!
|
* Only living disguises go in here!
|
||||||
*/
|
*/
|
||||||
public enum DisguiseSound {
|
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",
|
BAT("mob.bat.hurt", null, "mob.bat.death", "mob.bat.idle", "damage.fallsmall", "mob.bat.loop", "damage.fallbig",
|
||||||
"mob.bat.takeoff"),
|
"mob.bat.takeoff"),
|
||||||
|
@ -183,10 +183,6 @@ public enum DisguiseSound {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isCancelled(String soundName) {
|
|
||||||
return cancelSounds.contains(soundName);
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isCancelSound(String sound) {
|
public boolean isCancelSound(String sound) {
|
||||||
return getSoundsToCancel().contains(sound);
|
return getSoundsToCancel().contains(sound);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue