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

Solved Poggit make corrupted PHARs?

Discussion in 'Help' started by r7vmc, Jul 11, 2018.

  1. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
  2. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    I do not thing it is a poggit bug but try tagging dktapps and sof3. About your plugin, by the way, you should str_replace() the PluginTask with Task, the getServer()->getScheduler() with getScheduler() and the parent::__construct; with nothing
     
  3. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    I'm not noob btw, and my plugin doesn't contain Task, however, I found the problem cause
     
  4. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Your plugin changes the api if I understood correctly, from 3.0.0-ALPHA12 to 3.0.0 the task stuff have changed but ok.
     
  5. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    Yes it changes the API version, but it doesn't change the new API Changes.
     
  6. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Will you believe me if I tell you that Poggit has some secret code to corrupt phars if they do disallowed things like loading plugins with incompatible APIs?
     
  7. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    lol I'm sorry it's my fault I didn't include vendor dir in poggit.yml
     
  8. r7vmc

    r7vmc Baby Zombie

    Messages:
    112
    GitHub:
    r7vmc
    Anyway I will try to make it Update new API changes
     
  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.