diff options
author | md_5 <git@md-5.net> | 2018-08-02 09:10:58 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-08-02 09:10:58 +1000 |
commit | 9415c3ea9118ee700ca32b819cb40cfeb016bb6a (patch) | |
tree | 88ed3dbb27f4b35c1e449f4fc58baed8838741f6 | |
parent | df94b61d25e4b957a4e727b16d2813bb91cf8fc9 (diff) | |
download | bukkit-9415c3ea9118ee700ca32b819cb40cfeb016bb6a.tar bukkit-9415c3ea9118ee700ca32b819cb40cfeb016bb6a.tar.gz bukkit-9415c3ea9118ee700ca32b819cb40cfeb016bb6a.tar.lz bukkit-9415c3ea9118ee700ca32b819cb40cfeb016bb6a.tar.xz bukkit-9415c3ea9118ee700ca32b819cb40cfeb016bb6a.zip |
SPIGOT-4210: Deprecated TargetReason.PIG_ZOMBIE_TARGET
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityTargetEvent.java | 3 |
1 files changed, 3 insertions, 0 deletions
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. |