From 9415c3ea9118ee700ca32b819cb40cfeb016bb6a Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 2 Aug 2018 09:10:58 +1000 Subject: SPIGOT-4210: Deprecated TargetReason.PIG_ZOMBIE_TARGET --- src/main/java/org/bukkit/event/entity/EntityTargetEvent.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/bukkit/event/entity/EntityTargetEvent.java b/src/main/java/org/bukkit/event/entity/EntityTargetEvent.java index dd26e746..9fe25715 100644 --- a/src/main/java/org/bukkit/event/entity/EntityTargetEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityTargetEvent.java @@ -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. -- cgit v1.2.3