Cancelling events?

Discussion in 'Plugin Development' started by Taco, Jan 9, 2011.

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

    Taco

    I have
    public class godPowersEntityListener extends EntityListener implements Cancellable
    and I'm trying to do event.setCancelled(true); with all of the onDamage() methods, though my void setCancelled was generated empty and the javadocs appear to be down. What am I missing here?
     
  2. Offline

    Purre

    It pretty much seems like the onDamage methods are not fully working yet, if you try standing next to an exploding Creeper, would that damage you?
     
  3. Offline

    Taco

    Yep, everything does.
     
  4. Offline

    Purre

    That's odd, a Creeper should at least call the event..
     
  5. Offline

    Taco

    I'll try to find another creeper and try it again.

    Edit: It doesn't send a message like I set it to, so I'm assuming it isn't working.
     
Thread Status:
Not open for further replies.

Share This Page