1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

spam Click

Discussion in 'Help' started by Winchester, Aug 8, 2018.

  1. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Which function? How would I do that?
     
  2. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Bump!
     
  3. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    You can look at useHeldItem and startBreakBlock for both left and right clicks. I would be careful with that, as that affects every other plugin that handles PlayerInteractEvent. dktapps mentioned working on a way to work around this without using timestamps, like I mentioned using, as it could have it's faults. When or how it'll be implemented, I don't know.
     
  4. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    So it would be better to not work on a fix, right? Since that will make a production server unstable, I can't risk it. I will use the item held event and add a slapper for the soul well.
     
  5. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.