ScriptCraft

ScriptCraft

14.6k Downloads

sounds.playerMeow not working in spigot 1.9

tjhgit opened this issue ยท 1 comments

commented

Caused by: sun.org.mozilla.javascript.JavaScriptException: JavaException: javax.script.ScriptException: sun.org.mozilla.javascript.EcmaError: TypeError: Cannot find function catMeow in object [object Object]. (#6) in at line number 6 (#638)

commented

Hi @tjhgit ,

Sorry about that. Spigot 1.9 changed all of the Sounds Enum values. You'll need to use the following instead...

sounds.entityCatAmbient( player );