Block cancel event?

Discussion in 'Plugin Development' started by Donny, Jul 16, 2013.

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

    Donny

  2. Offline

    soulofw0lf

    you could tie in to the other plugins, or have a timer that checks the block like 5 ticks after the event and only pays them if it is air or null.
     
  3. Offline

    Donny

    Is that the only way?
    I could have sworn that there was sometype of block cancel event when a block break was prevented
     
  4. Offline

    brord

    set your listener to eventpriority.high or highest
    and then check for event.isCancelled()
     
  5. Offline

    foodyling

    Just change the @EventHandler to @EventHandler(ignoreCancelled = true)
     
Thread Status:
Not open for further replies.

Share This Page