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

help with plugin error

Discussion in 'Help' started by Levi, Oct 12, 2017.

  1. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    error:
    Code:
    2017-10-11 [21:08:01] [Server thread/CRITICAL]: ErrorException: "Declaration of EmreTr1\Text::attack($damage, pocketmine\event\entity\EntityDamageEvent $event) should be compatible with pocketmine\entity\Living::attack(pocketmine\event\entity\EntityDamageEvent $source)" (EXCEPTION) in "plugins/LiveTexts-Soft/src/EmreTr1/Text" at line 63
    code:
    PHP:
        public function attack($damageEntityDamageEvent $event){
            
    $event->setCancelled(true);
            
    parent::attack($damage$event);
        }
     
  2. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    What you trying?
     
  3. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    nothing, it's an error from someone's plugin im just trying to fix
    plugin is livetext
     
  4. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Wrong section
     
    EdwardHamHam likes this.
  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.