SPIGOT-4210: Deprecated TargetReason.PIG_ZOMBIE_TARGET

This commit is contained in:
md_5 2018-08-02 09:10:58 +10:00
parent df94b61d25
commit 9415c3ea91

View file

@ -94,7 +94,10 @@ public class EntityTargetEvent extends EntityEvent implements Cancellable {
/**
* When the target attacks a fellow pig zombie, so the whole group
* will target him with this reason.
*
* @deprecated obsoleted by {@link #TARGET_ATTACKED_NEARBY_ENTITY}
*/
@Deprecated
PIG_ZOMBIE_TARGET,
/**
* When the target is forgotten for whatever reason.