onBlockPlace, not firing because of onPlayerInteract?

Discussion in 'Plugin Development' started by crowebird, Apr 7, 2011.

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

    crowebird

    Is onPlayerInteract taking over for onBlockPlace?

    I have code in onPlayerInteract which must get called when you rightclick on a block to place a block, but the code never propagates to onBlockPlace.

    Is there anything new in onPlayerInteract that I can check for this issue?

    Edit:: or is there any chance if it gets setcancelled in onPlayerInteract that it cancels the fire for later?
     
  2. Offline

    Deathly

    onBlockPlace is not being called anymore as it was replaced by onPlayerInteract.
    Read all these "oops i broke your plugins" posts :)

     
  3. Offline

    crowebird

    Ah Thanks Deathly... must have missed it, as the registerEvent for PlaceBlock still exists.
     
Thread Status:
Not open for further replies.

Share This Page