Ignore cancelled events

Discussion in 'Bukkit Preview' started by md_5, Feb 21, 2012.

  1. Offline

    md_5

    A bit late on the post, but as many of you may have noticed, a small, albeit useful addition has been made to the event system.
    Tired of using
    Code:
    if(event.isCancelled()}return;
    Well now just put
    Code:
    @EventHandler(ignoreCancelled = true)
    and we will do all the work for you. Easy or what?
     

Share This Page