[SPIGOT-1528] Invalid sound for ENTITY_ZOMBIE_BREAK_DOOR_WOOD Created: 01/Mar/16 Updated: 01/Mar/16 Resolved: 01/Mar/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Jos Roossien | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 3 |
Labels: | 1.9, sound | ||
Environment: |
1.9 |
Plugin: | none |
Description |
The sound *ENTITY_ZOMBIE_BREAK_DOOR_WOOD *seems to be invalid. Caused by: java.lang.IllegalArgumentException: Sound effect entity.zombie.break.door.wood does not exist
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:148) ~[Spigot.jar:git-Spigot-7d15d07-c194444]
at org.bukkit.craftbukkit.v1_9_R1.CraftSound.getSoundEffect(CraftSound.java:20) ~[Spigot.jar:git-Spigot-7d15d07-c194444]
at org.bukkit.craftbukkit.v1_9_R1.CraftWorld.playSound(CraftWorld.java:1325) ~[Spigot.jar:git-Spigot-7d15d07-c194444]
at com.jroossien.luck.events.TreeFellerEvent.breakTree(TreeFellerEvent.java:110) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[Spigot.jar:git-Spigot-7d15d07-c194444]
... 17 more
|
Comments |
Comment by Nathan Wolf [ 01/Mar/16 ] |
I'm getting this same error on playing any custom sounds via the deprecated playSound method (which takes a string) - used to be I could play a sound like "magic.wand_up" from my resource pack, but now I get this error: Caused by: java.lang.IllegalArgumentException: Sound effect magic.wandup does not exist Is there maybe a check in there that's being too strict? |