LivingEntity#setKiller

This commit is contained in:
BillyGalbreath 2017-07-31 01:49:43 -05:00
parent 8df1d2656c
commit eb5ae9c077

View file

@ -365,6 +365,15 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
@Nullable
public Player getKiller();
// Paper start
/**
* Sets the player identified as the killer of the living entity.
*
* @param killer player
*/
public void setKiller(@Nullable Player killer);
// Paper end
/**
* Adds the given {@link PotionEffect} to the living entity.
*