Solved PlayerInteractEvent only fires once.

Discussion in 'Plugin Development' started by Desle, Mar 2, 2014.

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

    Desle

    I've read that when using PlayerInteractEvent, it should fire every 200ms, but it does not.
    I've tried mining obsidian for 20 seonds and it only fires when starting..
    Anyone knows a solution to this, so I can actually detect while a player is mining?
     
  2. Offline

    sgavster

    Code?...
     
  3. Offline

    Desle

    sgavster
    Code isn't really needed, plus I already deleted it.
     
  4. Desle
    If you're mining it would only fire the interact event once. If your holding down the right mouse button on the other hand it will fire repeatedly.
     
  5. Offline

    Desle

Thread Status:
Not open for further replies.

Share This Page