Solved Send a BlockBreakEvent?

Discussion in 'Plugin Development' started by AngryCupcake274, Feb 25, 2016.

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


    Hello all,

    I am creating a plugin that manually replaces blocks the player mines with air and drops an item where that block was. The problem is, users of my plugin have told me that it doesn't work with drop to inventory plugins. I'm assuming that I need to send a BlockBreakEvent so that the other plugin can recognize that a block is being broken there and that it needs to send that item to the user's inventory, but I'm not completely sure.

    If I am correct, could someone please tell me how to send out a BlockBreakEvent? If not, I'm happy to hear suggestions about how to handle this problem.

  2. Offline



    Create event and fill it with it's data
    Call even using the methods to call event
  3. Offline


  4. Offline


Thread Status:
Not open for further replies.

Share This Page