Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fatal error: Call to undefined method pocketmine\event\player\PlayerQuitEvent::getEntity()

Comments in 'Plugin Development' started by iiDeathStrokeii, Jun 28, 2015.

  1. iiDeathStrokeii
    Offline

    iiDeathStrokeii Active Member

    Joined:
    Mar 30, 2015
    Posts:
    111
    Minecraft User:
    iiDeathstrokeii
    PHP:
    $player $event->getEntity()->getName();
    What im I doing wrong?
  2. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    PHP:
    $player $event->getPlayer();
    jojoe77777, EvolSoft, Falk and 2 others like this.

Share This Page

Advertisement