SPIGOT-4210: Deprecated TargetReason.PIG_ZOMBIE_TARGET

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-08-02 09:10:58 +10:00
parent 276f96f5de
commit da7f9c03f6

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.