Plugin Help [Solved] Send blockbreakeanimation

Discussion in 'Plugin Help/Development/Requests' started by kvq, Oct 26, 2014.

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

    kvq

    Stop ... BlockBreakeAnimation make that effect
    [​IMG]
    or that ?
    [​IMG]
     
  2. Offline

    mrCookieSlime

    kvq
    The first one, the second one is step sound.
     
  3. Offline

    kvq

    Yeah ! I found problem . Now all working ok
    Code:java
    1. net.minecraft.server.v1_7_R4.PacketPlayOutBlockBreakAnimation pack = new net.minecraft.server.v1_7_R4.PacketPlayOutBlockBreakAnimation(0, p.getLocation().getBlockX(), p.getLocation().add(0, -1, 0).getBlockY(), p.getLocation().getBlockZ(), 5);
    2. ((CraftPlayer) p).getHandle().playerConnection.sendPacket(pack);

    Thank you for help .
     
  4. Offline

    mrCookieSlime

    kvq
    ... Were you importing the wrong class all the time??
     
  5. Offline

    kvq

    Yes xD
     
  6. Offline

    mrCookieSlime

    ^^ Well then. Thats why it gave you and me a headache...
    Next time maybe try to post the full code instead if a small area of it, so things like that can also be tracked down.
     
Thread Status:
Not open for further replies.

Share This Page