Skip to content

Instantly share code, notes, and snippets.

@fourohfour
Created January 3, 2014 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fourohfour/8243942 to your computer and use it in GitHub Desktop.
Save fourohfour/8243942 to your computer and use it in GitHub Desktop.
Get killer
Player killer = event.getEntity().getKiller();
if (!(killer == null)){
killer.addHealth(2) //or whatever
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment