Plugin task error

Discussion in 'Help' started by Mochi, Apr 16, 2019.

  1. Mochi

    Mochi Spider Jockey

    Messages:
    37
    Code:
    class MLGRushTask extends PluginTask {
        public $cfg;
        public $prefix = '§1TheBridge §8| §7';
    
     public function construct($plugin)
    {
         $this->plugin = $plugin;
         parent::construct($plugin);
    }
     

    Attached Files:

  2. Mochi

    Mochi Spider Jockey

    Messages:
    37
  3. ZackyVN

    ZackyVN Baby Zombie

    Messages:
    131
    Your plugin are most likely outdated. Please contact the developer to update it.
    Btw here is the code.
    PHP:

    use pocketmine\scheduler\Task;
    class 
    MLGRushTask extends Task {

        public 
    $cfg;
        public 
    $prefix '§1TheBridge §8| §7';

        public function 
    __construct(Main $plugin){
            
    $this->plugin $plugin;
        }
     
    Last edited: Apr 16, 2019
  4. Mochi

    Mochi Spider Jockey

    Messages:
    37

Share This Page

  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.