BlockBreak Event not called?

Discussion in 'Spigot Plugin Development' started by DireLegendDev, Jun 10, 2015.

  1. I am trying to use the breakNaturally() method to break a block, but the block break event isn't being called. Why, and can I do anything to cause the BlockBreakEvent to be called with that method? Would it be possible to create a custom event that works with the breakNaturally() method? (Solving this would save me 4-5 hours!)

    Thanks!
     
  2. how about just adding the method behind .breakNaturally() ?

    or does it have to be an event?
     
  3. Just create a new BlockBreakEvent object and call that event, right after you do brakNaturally.
     
  4. Most people forget this...
    Are you registering the events?