Cancel move event when break block

Discussion in 'Plugin Development' started by Guinomus, Jun 26, 2015.

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

    Guinomus

    How do i cancel move event when someone break a block?
    Please help me.
     
  2. Offline

    MCMatters

  3. Offline

    CrystallFTW

    Maybe with arraylists? in PlayerMoveEvent check if the arraylist contains the player and then cancel the event, in BlockBreakEvent add the player to the arraylist after they destroyed the block.
     
Thread Status:
Not open for further replies.

Share This Page