How do i get the killer entity from a PlayerDeathEvent?

Discussion in 'Plugin Development' started by SoThatsIt, Apr 12, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    SoThatsIt

    how do i get the killer entity from a playerdeathevent? should i just use EntityDeathEvent?
     
  2. Get the player from the event and call .getKiller(). Couldn't be easier! :)
     
  3. Offline

    SoThatsIt

    oh lol xD i cant believe i missed that. thanks :p
     
  4. No problem! 10 Secs for me... Finally a solution for you!
     
Thread Status:
Not open for further replies.

Share This Page