Fool proof event for when a block is changed?

Discussion in 'Plugin Development' started by Ne0nx3r0, Apr 26, 2011.

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

    Ne0nx3r0

    Is there an event or combination of events that cover any scenario when a block is changed?

    The goal here is to capture when a block at a given location is changed in any way that would invalidate the state it had before. (block to air or another block/sign updated/block destroyed)

    Ideally this would cover things like WorldEdit changing a block as well.
     
  2. Code:
    pm.registerEvent(Event.Type.PLAYER_INTERACT, (Listener) playerListener, Event.Priority.Normal, this);
    Maybe?
     
Thread Status:
Not open for further replies.

Share This Page