onBlockDamage not repeating?

Discussion in 'Plugin Development' started by daveb196, Apr 27, 2011.

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

    daveb196

    I'm trying to intercept player interaction with blocks continuously. Ie, when they are smacking something, I want to get a damage event every time they hit it (or every time damage it applied I guess). But it seems like I only get the initial event. Same goes for the onPlayerInteract event as well.

    Is this just how things are, or is there a way of rigging it so that I get periodic messages?

    Actually, for what it's worth, it also seems like setting the event to cancel = true doesn't seem to have any effect. Damage still continues to get applied.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
Thread Status:
Not open for further replies.

Share This Page