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

Get shooter

Discussion in 'Facepalm' started by SergeyIvanov, Jul 28, 2017.

  1. SergeyIvanov

    SergeyIvanov Witch

    Messages:
    59
    GitHub:
    sergeyivanov14
    Hi, how to get the shooter in ProjectileLaunchEvent?
     
  2. SkySeven

    SkySeven Baby Zombie

    Messages:
    145
    GitHub:
    SkySevenMC
    $event->getDamager() i think
     
  3. SergeyIvanov

    SergeyIvanov Witch

    Messages:
    59
    GitHub:
    sergeyivanov14
    I need to get the person who sent the arrow and not the damager.
     
  4. SkySeven

    SkySeven Baby Zombie

    Messages:
    145
    GitHub:
    SkySevenMC
    $event->getPlayer() x)
     
  5. SergeyIvanov

    SergeyIvanov Witch

    Messages:
    59
    GitHub:
    sergeyivanov14
    Ohhhhhhh
     
    SkySeven likes this.
  6. Donquih0te

    Donquih0te Spider

    Messages:
    7
    GitHub:
    donkihotd
    $event->getEntity();
    Башмак
     
  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.