PacketPlayOutBlockBreakAnimation bug?

Discussion in 'Plugin Development' started by OverDodo, Nov 21, 2017.

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

    OverDodo

    So i was just creating a method that can make blocks "break" by themselves with this packet..

    It works fine but when i place a block and it gets destroyed after 6 seconds and if i then place another block at the same location, it will stay on the Breaklevel 9.. So it spawns with that breaklevel.. You know how i can fix that?


    PHP:
     PacketPlayOutBlockBreakAnimation packet = new PacketPlayOutBlockBreakAnimation(randi, new BlockPosition(loc.getX(),loc.getY(),loc.getZ()), Level );
     
  2. Offline

    Unknown123

    @OverDodo Just set it to 0 after it breaks?
     
  3. Offline

    OverDodo

    Already tried, doesnt work
     
Thread Status:
Not open for further replies.

Share This Page