When trying to use the playSound to create the WOLF_GROWL effect on a player that types a simple command, I get a error. It shows that there is a Unknown Source for playSound. Has playSound been taken out of bukkit? Or am I missing something?
Code: Packet62NamedSoundEffect packet = new Packet62NamedSoundEffect("random.orb", player.getLocation().getBlockX(), player.getLocation().getBlockY(), player.getLocation().getBlockZ(), 1.0F, 0.5F); ((CraftPlayer)player).getHandle().netServerHandler.sendPacket(packet); This might help.
Show code and exact error maybe? Also are we talking about the old or the new sound API? Goldbattle Or just use the new sound API: https://github.com/Bukkit/CraftBukk.../org/bukkit/craftbukkit/CraftWorld.java#L1167 https://github.com/Bukkit/CraftBukk...kkit/craftbukkit/entity/CraftPlayer.java#L254 But I'm not sure if this is in a RB yet, hence why I asked which one he's using... EDIT by Moderator: merged posts, please use the edit button instead of double posting.