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

BROADCAST ?

Discussion in 'Development' started by KittyDev, Aug 26, 2017.

  1. KittyDev

    KittyDev Slime

    Messages:
    96
    GitHub:
    FreakingDev
    This is the error i get, what should i do?

    Non-static method pocketmine\Server::broadcastPacket() should not be called statically on seat\seat
     
  2. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    http://lmgtfy.com/?q=php+non+static+method+cannot+be+called+statically
     
    jasonwynn10 likes this.
  3. KittyDev

    KittyDev Slime

    Messages:
    96
    GitHub:
    FreakingDev
    minecart removed in the source code thats why it doesnt work anymore -.-
     
  4. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    It's got nothing to do with Minecarts
     
    Teamblocket and jasonwynn10 like this.
  5. KYUMA

    KYUMA Silverfish

    Messages:
    16
    GitHub:
    Ky75
    PHP:
    $this->getServer()->sendbroadcastMessage("message");
    ?
     
  6. Rysieku

    Rysieku Spider Jockey

    Messages:
    34
    GitHub:
    rysieku
    He already know why this does not work.
    Btw you are wrong.
    PHP:
    $this->getServer()->broadcastMessage("message");
     
  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.