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

BlockBreakEvent does not work. wtf

Discussion in 'Development' started by CortexPE, Feb 6, 2017.

  1. CortexPE

    CortexPE Witch

    Messages:
    61
    GitHub:
    cortexpe
    Anyway, there ya go... You can just put those together and you're done ( you still need to add plugin.yml )
     
  2. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    Hmm how did plugin receive the PlayerInteractEvent when you didn't do that lol
     
  3. Marabou

    Marabou Baby Zombie

    Messages:
    137
    GitHub:
    wiligangster
    No need to use $ev->setCancelled() *facepalm*
     
  4. CortexPE

    CortexPE Witch

    Messages:
    61
    GitHub:
    cortexpe
    Players are supposed to either tap/break the block... (can be set on config)
    I just need to fix BlockBreakEvent...
     
  5. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Send the full plugin (src folder)
     
  6. CortexPE

    CortexPE Witch

    Messages:
    61
    GitHub:
    cortexpe
     

    Attached Files:

  7. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    Try this (and tell me what it says in the console)
     

    Attached Files:

    jasonwynn10 likes this.
  8. CortexPE

    CortexPE Witch

    Messages:
    61
    GitHub:
    cortexpe
    Still nothing.
     
  9. GilBenDavid

    GilBenDavid Silverfish

    Messages:
    20
    Very strange it should work
     
  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.