playSound Issues

Discussion in 'Plugin Development' started by zRations, Oct 7, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    zRations

    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?
     
  2. Offline

    Goldbattle

    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.
     
  3. Offline

    V10lator

    Last edited by a moderator: May 29, 2016
Thread Status:
Not open for further replies.

Share This Page